Project Date
NLTEST 02 Jul 2022, 05:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
src/test/java/InspireTest/ngr/T02_Services.feature 18408 0 0 0 0 18408 354 0 354 4m 22s 652ms Passed
Tags: @step1
Feature src/test/java/InspireTest/ngr/T02_Services.feature
get details
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:26.333 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
820ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3fa3aa0b-cd4a-4680-ad2e-89fc28411565' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 003ms
* print connectUrl 002ms
05:05:27.155 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.156 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.158 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.158 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
05:05:27.160 [print] KNMI 
* print operateson 000ms
05:05:27.161 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.163 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.165 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.166 [print] true 
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3fa3aa0b-cd4a-4680-ad2e-89fc28411565","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:26.352 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 002ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf89409f-e268-4adb-9f34-a63b84ecfc12' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.069 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.070 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.071 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.072 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.073 [print] KNMI 
* print operateson 000ms
05:05:27.073 [print] https://haleconnect.com/services/bsp/org.874.f8e8e27f-9a8a-4704-b3d6-f42dc97157d2/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.076 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.077 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.079 [print] true 
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 006ms
* eval db.writeln('"cf89409f-e268-4adb-9f34-a63b84ecfc12","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:26.355 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
932ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'feeae7d3-7485-4a39-895c-ed65e945ced0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 879ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feeae7d3-7485-4a39-895c-ed65e945ced0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 032ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.280 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_regis_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.281 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.283 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.283 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.284 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:27.285 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=E7D9F0D6-2B8D-6699-F26E-4A781228F2DD&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.287 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.289 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.290 [print] "true";"true" 
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"feeae7d3-7485-4a39-895c-ed65e945ced0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:26.348 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
793ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.130 [print] https:\/\/service.pdok.nl\/hwh\/hydrografie\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.131 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.132 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.132 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.133 [print] Beheer PDOK 
* print operateson 000ms
05:05:27.134 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.136 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.137 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 007ms
05:05:27.146 [print] "true";"true" 
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.089 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4805aac3-9a8d-4fcd-851b-88c7b3d342e2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.875 [print] https://service.pdok.nl/kadaster/sr/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.876 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.877 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.877 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.878 [print] Beheer PDOK 
* print operateson 000ms
05:05:27.878 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.880 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.881 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.883 [print] "true";"true" 
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4805aac3-9a8d-4fcd-851b-88c7b3d342e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.153 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 005ms
Tags: @step1
758ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3d143d7a-7599-4cda-bcc5-619b6201c47b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 740ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d143d7a-7599-4cda-bcc5-619b6201c47b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.907 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.909 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.910 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.911 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.912 [print] Beheer PDOK 
* print operateson 000ms
05:05:27.912 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.915 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.916 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.917 [print] "true";"true" 
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3d143d7a-7599-4cda-bcc5-619b6201c47b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.171 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
793ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '757a7c50-540d-4105-9135-73f09f700743' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '757a7c50-540d-4105-9135-73f09f700743' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:27.956 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:27.957 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:27.959 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:27.959 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:27.960 [print] Beheer PDOK 
* print operateson 000ms
05:05:27.961 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:27.963 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:27.964 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:27.965 [print] "true";"true" 
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"757a7c50-540d-4105-9135-73f09f700743","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.295 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
714ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:28.003 [print] https:\/\/service.pdok.nl\/cbs\/pd\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:28.005 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:28.006 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:28.006 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:28.007 [print] Beheer PDOK 
* print operateson 000ms
05:05:28.007 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:28.009 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:28.011 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:28.012 [print] "true";"true" 
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.887 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
811ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:28.675 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wms\/v2_0?service=WMS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 010ms
05:05:28.686 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:28.687 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:28.687 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:28.688 [print] Beheer PDOK 
* print operateson 000ms
05:05:28.689 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
05:05:28.692 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:28.693 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:28.693 [print] "true";"true" 
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 005ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.925 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 001ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
808ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 001ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'af4841b5-ce83-4edb-af41-429a21140316' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 738ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 003ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:28.690 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 002ms
05:05:28.694 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:28.695 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:28.696 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 006ms
* print organisationpath 000ms
05:05:28.702 [print] Beheer PDOK 
* print operateson 000ms
05:05:28.702 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 008ms
05:05:28.718 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:28.721 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:28.726 [print] "true";"true" 
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 007ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:27.970 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
762ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dae8f9e3-99af-4d21-9feb-29f2a1693077' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 007ms
* print connectUrl 000ms
05:05:28.713 [print] https://service.pdok.nl/kadaster/tn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:28.714 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:28.715 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:28.715 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:28.716 [print] Beheer PDOK 
* print operateson 000ms
05:05:28.717 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:28.718 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:28.721 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:28.722 [print] "true";"true" 
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 007ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 004ms
* eval db.writeln('"dae8f9e3-99af-4d21-9feb-29f2a1693077","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:28.016 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
731ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '589a9223-7588-4cd7-93aa-5373a12d8cea' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:05:28.737 [print] https://service.pdok.nl/kadaster/hy/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
05:05:28.739 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:28.740 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:28.741 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:05:28.744 [print] Beheer PDOK 
* print operateson 002ms
05:05:28.746 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:28.748 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
05:05:28.753 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:28.754 [print] "true";"true" 
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"589a9223-7588-4cd7-93aa-5373a12d8cea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:28.713 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
743ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:29.451 [print] https://geodata.nationaalgeoregister.nl/windkaart/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:29.451 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:29.452 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:29.452 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:29.454 [print] Beheer PDOK 
* print operateson 000ms
05:05:29.454 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:29.456 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:29.457 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:29.458 [print] "true";"true" 
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:28.750 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '823c5f01-5d11-481b-aa5f-e191d129365f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 008ms
* print connectUrl 000ms
05:05:29.534 [print] https://service.pdok.nl/kadaster/gn/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:29.535 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:29.535 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:29.536 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:29.537 [print] Beheer PDOK 
* print operateson 000ms
05:05:29.538 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 002ms
* print corConformanceHref 000ms
05:05:29.542 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:29.543 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 005ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 001ms
05:05:29.550 [print] "true";"true" 
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"823c5f01-5d11-481b-aa5f-e191d129365f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:28.741 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
796ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 735ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 019ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:29.511 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:29.513 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:29.514 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:29.515 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:05:29.517 [print] Beheer PDOK 
* print operateson 000ms
05:05:29.517 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:29.522 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 009ms
05:05:29.534 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:29.536 [print] "true";"true" 
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:28.759 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
855ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 001ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 815ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:29.594 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 002ms
05:05:29.598 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:29.601 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:29.601 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:05:29.604 [print] Beheer PDOK 
* print operateson 000ms
05:05:29.605 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:29.610 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:29.613 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:29.615 [print] "true";"true" 
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:29.463 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
763ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '280cee65-1b66-4973-a569-75122e0b745b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 743ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.217 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/richtlijnstedelijkafvalwater2015\/wfs\/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.218 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.219 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:30.220 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:30.221 [print] Beheer PDOK 
* print operateson 000ms
05:05:30.221 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:30.223 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:30.224 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 001ms
05:05:30.227 [print] "true";"true" 
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:29.549 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.268 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/richtlijnstedelijkafvalwater2015\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.269 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.270 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:30.270 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:30.271 [print] Beheer PDOK 
* print operateson 000ms
05:05:30.271 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:30.273 [print] "https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1";"http:\/\/data.europa.eu\/eli\/reg\/2009\/976" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:30.274 [print] "Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:30.276 [print] "true";"true" 
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:29.557 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 768ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.336 [print] https://geodata.nationaalgeoregister.nl/natura2000/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.337 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.338 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:30.338 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:30.339 [print] Beheer PDOK 
* print operateson 000ms
05:05:30.339 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:30.341 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:30.342 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:30.343 [print] "true";"true" 
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:29.621 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
770ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 753ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.386 [print] https:\/\/geodata.nationaalgeoregister.nl\/inspire\/ad\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.387 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.388 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:30.388 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:30.389 [print] Beheer PDOK 
* print operateson 000ms
05:05:30.389 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:30.391 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:30.392 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:30.393 [print] "true";"true" 
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:30.234 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
718ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.943 [print] https://service.pdok.nl/kadaster/lc/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.944 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.945 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:30.945 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:30.946 [print] Beheer PDOK 
* print operateson 000ms
05:05:30.946 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 005ms
05:05:30.947 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:30.953 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:30.955 [print] "true";"true" 
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfe4f5c6-b6d2-4a63-a7b7-961dd9c9fcaa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:30.280 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:30.997 [print] https://service.pdok.nl/cbs/hh/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:30.998 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:30.999 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.000 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:31.001 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.002 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.003 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.005 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.006 [print] "true";"true" 
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:30.347 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
693ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 677ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:31.032 [print] https://service.pdok.nl/rvo/invasieve-exoten/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:31.033 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:31.034 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.034 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:31.035 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.035 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.037 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.038 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.040 [print] "true";"true" 
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:30.397 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:31.104 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:31.105 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:31.107 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.107 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:31.108 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.109 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.111 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.112 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.113 [print] "true";"true" 
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:30.963 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 685ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:31.661 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:31.663 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:31.664 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.664 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:31.665 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.666 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.668 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.669 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.671 [print] "true";"true" 
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.011 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
723ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 700ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:31.723 [print] https:\/\/geodata.nationaalgeoregister.nl\/reststromen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:31.725 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:31.726 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.727 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:31.728 [print] Beheer PDOK 
* print operateson 001ms
05:05:31.729 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.732 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.734 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.735 [print] "true";"true" 
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.045 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
733ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:05:31.769 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:31.771 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:31.772 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.772 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:31.774 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.774 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.777 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.778 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.780 [print] "true";"true" 
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.118 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
695ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 676ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:31.805 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:31.806 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:31.807 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:31.808 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:31.809 [print] Beheer PDOK 
* print operateson 000ms
05:05:31.810 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:31.812 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:31.814 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:31.815 [print] "true";"true" 
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.675 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:32.381 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:32.383 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:32.384 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:32.384 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:32.385 [print] Beheer PDOK 
* print operateson 000ms
05:05:32.385 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:32.387 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:32.388 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:32.389 [print] "true";"true" 
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.740 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 727ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:32.478 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:32.479 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:32.479 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:32.480 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:32.480 [print] Beheer PDOK 
* print operateson 000ms
05:05:32.481 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=rorl-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:32.482 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:32.483 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:32.484 [print] "true";"true" 
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.785 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 002ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
718ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:32.501 [print] https://geodata.nationaalgeoregister.nl/vin/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:32.502 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:32.502 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:32.503 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:32.503 [print] Beheer PDOK 
* print operateson 000ms
05:05:32.504 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:32.505 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:32.506 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:32.507 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:31.819 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
714ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:32.527 [print] https://geodata.nationaalgeoregister.nl/inspire/bu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:32.528 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:32.529 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:32.529 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:32.530 [print] Beheer PDOK 
* print operateson 000ms
05:05:32.530 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:32.532 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:32.533 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:32.534 [print] "true";"true" 
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:32.393 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 709ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:33.112 [print] https://service.pdok.nl/kadaster/cp/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:33.113 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:33.114 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.114 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:33.115 [print] Beheer PDOK 
* print operateson 000ms
05:05:33.116 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.118 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.119 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.120 [print] "true";"true" 
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:32.487 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:33.203 [print] https://www.broinspireservices.nl/wms/osgebor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:33.204 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:33.205 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.205 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:33.206 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:33.206 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.208 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.209 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.210 [print] "true";"false" 
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:32.511 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
793ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95664230-19bc-4f33-b2cf-10aedbe75c11' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95664230-19bc-4f33-b2cf-10aedbe75c11' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 008ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:05:33.290 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:33.291 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:05:33.293 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.294 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:33.296 [print] KNMI 
* print operateson 002ms
05:05:33.298 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.301 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.303 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.307 [print] true 
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95664230-19bc-4f33-b2cf-10aedbe75c11","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:32.539 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
754ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 730ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:33.282 [print] https://www.broinspireservices.nl/wms/ossobor-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:33.283 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:33.284 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.285 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:33.286 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:33.286 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.288 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.290 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.292 [print] "true";"false" 
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.124 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
754ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 005ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 709ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:33.859 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebiedtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:33.862 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:33.864 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.864 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:33.867 [print] Beheer PDOK 
* print operateson 000ms
05:05:33.867 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.872 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.874 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.877 [print] "true";"true" 
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 003ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.220 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
748ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 002ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5523cfd7-a72c-409e-a0c7-89b858aafa64' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5523cfd7-a72c-409e-a0c7-89b858aafa64' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:33.960 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:33.961 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:33.962 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:33.963 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:33.964 [print] Beheer PDOK 
* print operateson 000ms
05:05:33.965 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:33.967 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:33.968 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:33.970 [print] "true";"true" 
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5523cfd7-a72c-409e-a0c7-89b858aafa64","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.304 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 002ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 736ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:34.055 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wms\/v1_0?request=getcapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:34.056 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:34.057 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.058 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:34.059 [print] Beheer PDOK 
* print operateson 000ms
05:05:34.059 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:34.061 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:34.063 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:34.064 [print] "true";"true" 
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.312 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
798ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 770ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17db4dd9-462f-4b9e-b14f-0004cacdafbb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:34.095 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:34.096 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:34.097 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.097 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:34.098 [print] KNMI 
* print operateson 000ms
05:05:34.099 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:34.101 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:34.102 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 005ms
05:05:34.109 [print] true 
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"17db4dd9-462f-4b9e-b14f-0004cacdafbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.886 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
754ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b0119753-5625-4500-9df3-13823ff9868f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 724ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:34.629 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingtypen\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:34.631 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:34.632 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.632 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:34.634 [print] Beheer PDOK 
* print operateson 000ms
05:05:34.634 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:34.638 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:34.640 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:34.642 [print] "true";"true" 
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:33.975 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
707ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9cc67ba-5491-4640-86ac-b8d392250270' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:34.678 [print] https://service.pdok.nl/bzk/bro-bodemkaart/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:34.678 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:34.679 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.679 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:34.680 [print] Beheer PDOK 
* print operateson 000ms
05:05:34.680 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:34.682 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:34.683 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:34.683 [print] "true";"true" 
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d9cc67ba-5491-4640-86ac-b8d392250270","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.069 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 002ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'KKHRN250-DXU9-167I-W6SO-8566T16B30VE' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'KKHRN250-DXU9-167I-W6SO-8566T16B30VE' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:34.781 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_geotop_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:34.782 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:34.783 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.784 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:34.785 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:34.785 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=7D35598D-DFBF-C64D-0F1A-92A80A45EB14&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 015ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:34.802 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:34.804 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:34.805 [print] "true";"true" 
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"KKHRN250-DXU9-167I-W6SO-8566T16B30VE","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 008ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.117 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 681ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d33772b-8bb4-4c9a-b5b4-07ada37694cd' 006ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 012ms
* print connectUrl 000ms
05:05:34.826 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 008ms
05:05:34.835 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 000ms
05:05:34.841 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:34.842 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:34.843 [print] KNMI 
* print operateson 000ms
05:05:34.844 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 002ms
05:05:34.847 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
05:05:34.851 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:34.852 [print] true 
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d33772b-8bb4-4c9a-b5b4-07ada37694cd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.646 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
723ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:35.363 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:35.364 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:35.365 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:35.365 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:35.366 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:35.366 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:35.368 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:35.369 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:35.370 [print] "true";"true" 
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.692 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
797ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 751ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 003ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 003ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:35.470 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:35.472 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:35.474 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:35.475 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:05:35.478 [print] Beheer PDOK 
* print operateson 000ms
05:05:35.478 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:35.484 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:35.487 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:35.490 [print] "true";"true" 
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
012ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.823 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 010ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
730ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 003ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ce0a3f8e-6713-455f-805e-a067162c287d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce0a3f8e-6713-455f-805e-a067162c287d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:35.548 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:35.549 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:35.551 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:35.551 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:35.552 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:05:35.553 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:35.555 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:35.556 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 007ms
* print corConformancePass 000ms
05:05:35.565 [print] true 
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ce0a3f8e-6713-455f-805e-a067162c287d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:34.859 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 002ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7d533012-21ad-4a5b-a97e-a76988270273' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 003ms
05:05:35.568 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:35.570 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:35.571 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
05:05:35.572 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:35.573 [print] KNMI 
* print operateson 000ms
05:05:35.573 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 002ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 001ms
* print corConformanceHref 000ms
05:05:35.579 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:35.580 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:35.582 [print] true 
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7d533012-21ad-4a5b-a97e-a76988270273","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:35.374 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
761ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 744ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:36.128 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:36.129 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:36.130 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.131 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:36.132 [print] Beheer PDOK 
* print operateson 000ms
05:05:36.133 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.134 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.136 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.137 [print] "true";"true" 
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:35.494 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd0b1a576-d1c5-47b4-972f-353f37eb1f8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:36.203 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:36.204 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:36.205 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.206 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:36.207 [print] KNMI 
* print operateson 000ms
05:05:36.208 [print] https://haleconnect.com/services/bsp/org.874.c9827525-5ea6-47bc-aa4a-3fa9665f0327/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.209 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.211 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.212 [print] true 
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d0b1a576-d1c5-47b4-972f-353f37eb1f8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:35.575 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
794ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 748ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 007ms
* print connectUrl 000ms
05:05:36.342 [print] https://service.pdok.nl/rce/ps-ch/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 009ms
05:05:36.352 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 002ms
05:05:36.355 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.356 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:36.357 [print] Beheer PDOK 
* print operateson 003ms
05:05:36.361 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.364 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.366 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.368 [print] "true";"true" 
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 002ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:35.585 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
753ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 700ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:36.295 [print] https:\/\/service.pdok.nl\/rce\/ps-ch\/wfs\/v1_0?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:36.296 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 019ms
* print protocol2 000ms
05:05:36.316 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.316 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:36.317 [print] Beheer PDOK 
* print operateson 000ms
05:05:36.318 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.320 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.322 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.323 [print] "true";"true" 
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 016ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.141 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:36.877 [print] https:\/\/geodata.nationaalgeoregister.nl\/noordzeevaarwegmarkeringenrd\/wms?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:36.878 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:36.879 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.879 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:36.880 [print] Beheer PDOK 
* print operateson 000ms
05:05:36.880 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.882 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.883 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.884 [print] "true";"true" 
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.216 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
710ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4ce823b4-94b4-4d24-8512-519179315878' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4ce823b4-94b4-4d24-8512-519179315878' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:36.918 [print] https://service.pdok.nl/provincies/provinciale-monumenten/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:36.919 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:36.920 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:36.921 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:36.922 [print] Beheer PDOK 
* print operateson 000ms
05:05:36.922 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:36.924 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:36.925 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:36.927 [print] "true";"true" 
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4ce823b4-94b4-4d24-8512-519179315878","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.358 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 709ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.081 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.083 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:37.084 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.084 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.086 [print] Beheer PDOK 
* print operateson 000ms
05:05:37.086 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.088 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.089 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.091 [print] "true";"true" 
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 005ms
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.376 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 003ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 766ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.156 [print] https://service.pdok.nl/kadaster/lu/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.157 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 001ms
05:05:37.159 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.159 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.160 [print] Beheer PDOK 
* print operateson 000ms
05:05:37.161 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.163 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.164 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.166 [print] "true";"true" 
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a9a8e1cf-3f4e-4067-9842-ea2a6f2d2ed9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.888 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.595 [print] https:\/\/geodata.nationaalgeoregister.nl\/nhi\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.596 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:37.597 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.597 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.598 [print] Beheer PDOK 
* print operateson 000ms
05:05:37.599 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.601 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.602 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.603 [print] "true";"true" 
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:36.931 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
705ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82a98057-861b-4c69-9b8e-fe1a7d7bdd29' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.633 [print] https://service.pdok.nl/provincies/nationale-landschappen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.634 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:37.635 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.635 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.635 [print] Beheer PDOK 
* print operateson 000ms
05:05:37.635 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.637 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.638 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.638 [print] "true";"true" 
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82a98057-861b-4c69-9b8e-fe1a7d7bdd29","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
777ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 762ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.873 [print] https:\/\/service.pdok.nl\/hwh\/wsdiensteninspire\/wms\/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.873 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:37.874 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.874 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.875 [print] Beheer PDOK 
* print operateson 000ms
05:05:37.875 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.878 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.878 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.879 [print] "true";"true" 
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.169 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
746ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 717ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 011ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:37.908 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:37.909 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:37.910 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:37.910 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:37.912 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:37.912 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:37.914 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:37.916 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:37.917 [print] "true";"true" 
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.607 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
738ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 722ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15d2aa2a-1e55-4ca4-986b-0d12768675a1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:38.339 [print] https://service.pdok.nl/provincies/provinciale-ecologische-hoofdstructuur/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:38.340 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:38.340 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:38.341 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:38.342 [print] Beheer PDOK 
* print operateson 000ms
05:05:38.342 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:38.344 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:38.345 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:38.346 [print] "true";"true" 
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15d2aa2a-1e55-4ca4-986b-0d12768675a1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.642 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e6c18185-719e-4729-8131-798dd9a69e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e6c18185-719e-4729-8131-798dd9a69e8d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:38.365 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:38.365 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:38.366 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:38.367 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
05:05:38.368 [print] Beheer PDOK 
* print operateson 000ms
05:05:38.369 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:38.371 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:38.372 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:38.373 [print] "true";"true" 
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e6c18185-719e-4729-8131-798dd9a69e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.883 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
762ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '33f3b24a-0b34-4153-9930-726d575a04d1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 743ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '33f3b24a-0b34-4153-9930-726d575a04d1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:38.638 [print] https://service.pdok.nl/provincies/aardkundige-waarden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:38.639 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:38.640 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:38.640 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:38.641 [print] Beheer PDOK 
* print operateson 000ms
05:05:38.641 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:38.642 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:38.644 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:38.645 [print] "true";"true" 
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"33f3b24a-0b34-4153-9930-726d575a04d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:37.921 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
740ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bbf57a25-0476-4d46-8e68-caaa5864a177' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 723ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bbf57a25-0476-4d46-8e68-caaa5864a177' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:38.654 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:38.654 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:38.655 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:38.655 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:38.656 [print] KNMI 
* print operateson 000ms
05:05:38.656 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:38.657 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:38.658 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:38.659 [print] true 
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bbf57a25-0476-4d46-8e68-caaa5864a177","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:38.350 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.056 [print] https://inspire.caris.nl/geoserver2/gn/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:39.058 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:39.059 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.059 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:39.060 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:39.060 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.061 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.062 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.063 [print] "true";"true" 
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:38.378 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.089 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:39.090 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:39.092 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.092 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:39.093 [print] Beheer PDOK 
* print operateson 000ms
05:05:39.093 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.095 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.096 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.097 [print] "true";"true" 
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:38.649 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 687ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.347 [print] https://geodata.nationaalgeoregister.nl/inspire/ad/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:39.348 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:39.348 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.349 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:39.349 [print] Beheer PDOK 
* print operateson 000ms
05:05:39.349 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.351 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.352 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.353 [print] "true";"true" 
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:38.666 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.397 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:39.398 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:39.399 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.400 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:39.401 [print] Beheer PDOK 
* print operateson 000ms
05:05:39.401 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 016ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.419 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.420 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 005ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.427 [print] "true";"true" 
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.071 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
733ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.800 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/view_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:39.801 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:39.803 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.803 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:39.804 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:05:39.805 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.807 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.808 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.810 [print] "false";"true";"true" 
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.100 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
771ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 740ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:39.856 [print] https:\/\/geodata.nationaalgeoregister.nl\/plu\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:39.858 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:05:39.860 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:39.860 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:39.863 [print] Beheer PDOK 
* print operateson 000ms
05:05:39.863 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:39.867 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:39.870 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:39.872 [print] "true";"true" 
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.356 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.060 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/wms/v1_0?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.061 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.062 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.062 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.064 [print] Beheer PDOK 
* print operateson 000ms
05:05:40.064 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.066 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.068 [print] "Waterschappen Administratieve eenheden INSPIRE";"Technische specificatie waarmee de service volledig conform is";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Deze service voldoet aan de specificaties voor spatial data services";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.069 [print] "true";"true";"true" 
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.432 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 757ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.201 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.202 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.203 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.204 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.205 [print] Beheer PDOK 
* print operateson 000ms
05:05:40.206 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.208 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.209 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.210 [print] "true";"true" 
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.814 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a57c1e86-becb-4e3f-b0ad-6d02cea5583d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.535 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.536 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.537 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.537 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.537 [print] Beheer PDOK 
* print operateson 000ms
05:05:40.537 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.539 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.540 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.540 [print] "true";"true" 
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a57c1e86-becb-4e3f-b0ad-6d02cea5583d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:39.876 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 729ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.614 [print] http://data.waterkwaliteitsportaal.nl/inspire/ds/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.615 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.615 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.616 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.616 [print] Informatiehuis Water 
* print operateson 000ms
05:05:40.617 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.618 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.619 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.620 [print] "false";"true";"true" 
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.073 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '70bf4086-b557-4803-96d3-6dc397a5b135' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 709ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '70bf4086-b557-4803-96d3-6dc397a5b135' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.791 [print] https://inspire.caris.nl/geoserver/mu/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.791 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.792 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.792 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.793 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:40.793 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.794 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.795 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.796 [print] "true";"true" 
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"70bf4086-b557-4803-96d3-6dc397a5b135","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.214 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '49ff0584-a173-4098-824c-119edf8447f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 718ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:40.944 [print] https:\/\/services.rce.geovoorziening.nl\/rce\/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:40.945 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:40.947 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:40.947 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:40.949 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
05:05:40.949 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:40.951 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:40.953 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:40.954 [print] "true";"true" 
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.544 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
709ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 690ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7e4bc31-60c1-4b78-bef1-eed768ceafa0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:41.245 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:41.246 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:41.247 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:41.247 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:41.248 [print] KNMI 
* print operateson 000ms
05:05:41.249 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:41.253 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:41.254 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:41.255 [print] true 
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7e4bc31-60c1-4b78-bef1-eed768ceafa0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.623 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
675ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 658ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:41.291 [print] https://inspire.caris.nl/geoserver/mu/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:41.292 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:41.293 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:41.294 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:41.295 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:41.295 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:41.297 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:41.298 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:41.300 [print] "true";"true" 
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
012ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.799 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 011ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:41.523 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:41.524 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:41.525 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:41.525 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:41.526 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:41.526 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:41.528 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:41.529 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:41.530 [print] "true";"true" 
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:40.959 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
763ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:41.719 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:41.720 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:41.720 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:41.720 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:41.721 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:41.721 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:41.723 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:41.723 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:41.724 [print] "true";"true" 
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:41.259 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
696ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 683ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:41.951 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/AM 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:41.952 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:41.953 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:41.953 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:41.953 [print] Informatiehuis Water 
* print operateson 000ms
05:05:41.953 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:41.955 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:41.956 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:41.957 [print] "false";"true";"true" 
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:41.304 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac873153-d885-45e4-b2ab-ad0600d203d3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:05:42.027 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 006ms
05:05:42.034 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:42.035 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:42.036 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:42.037 [print] KNMI 
* print operateson 000ms
05:05:42.038 [print] https://haleconnect.com/services/bsp/org.874.b005ca06-7d3d-4805-bcac-0fb65196db22/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:42.039 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:42.041 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:42.042 [print] true 
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac873153-d885-45e4-b2ab-ad0600d203d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:41.533 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
759ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 728ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 012ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:42.282 [print] https://inspire.caris.nl/geoserver/auwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:42.283 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:42.284 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:42.284 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:42.285 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:42.285 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:42.287 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:42.288 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:42.289 [print] "true";"true" 
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 006ms
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:41.728 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 687ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540z0b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:42.424 [print] https://service.pdok.nl/kadaster/adressen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:42.425 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:42.425 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:42.426 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:42.427 [print] Beheer PDOK 
* print operateson 000ms
05:05:42.427 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:42.428 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:42.429 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:42.430 [print] "true";"true" 
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540z0b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:41.960 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 019ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 886ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761' 016ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 007ms
* def title = get response //citation/CI_Citation/title/CharacterString 016ms
* def email = get response //electronicMailAddress/CharacterString 010ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 006ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 006ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 005ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:42.932 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 005ms
* print protocol1 000ms
05:05:42.937 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 005ms
* print protocol2 000ms
05:05:42.943 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:42.943 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 006ms
* print organisationpath 000ms
05:05:42.950 [print] Beheer PDOK 
* print operateson 000ms
05:05:42.950 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 006ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 006ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:42.965 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 006ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:42.972 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 006ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:42.980 [print] "true";"true" 
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:42.046 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
831ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 804ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b145a28d-70fd-4a8e-9750-3865bbcc5bea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:42.862 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:42.864 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:42.865 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:42.865 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 008ms
* print organisationpath 000ms
05:05:42.875 [print] KNMI 
* print operateson 000ms
05:05:42.875 [print] https://haleconnect.com/services/bsp/org.874.1fe64439-81bd-4adb-8a64-957200a4a48a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:42.877 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:42.878 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:42.879 [print] true 
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b145a28d-70fd-4a8e-9750-3865bbcc5bea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:42.298 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
707ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8a772a52-d659-47b3-a131-82398fb78664' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 688ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a772a52-d659-47b3-a131-82398fb78664' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:42.997 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:42.999 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.000 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.000 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:43.001 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:05:43.002 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.004 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:43.005 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.007 [print] true 
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8a772a52-d659-47b3-a131-82398fb78664","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:42.434 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
746ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:43.154 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:43.155 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.157 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.157 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:43.158 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:05:43.159 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.161 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:43.162 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 018ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.181 [print] true 
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c1ea0e3f-e8e2-4f25-aae8-f24ec6ee8217","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:42.888 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
711ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 688ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:43.591 [print] https://service.pdok.nl/brt/top10nl/wms/v1_0?service=wms&request=getCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:43.592 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.593 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.594 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:43.595 [print] Beheer PDOK 
* print operateson 000ms
05:05:43.596 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.598 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:43.600 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.602 [print] "true";"true" 
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:42.984 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62b01550-9007-4634-b008-bd6071b34b2c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62b01550-9007-4634-b008-bd6071b34b2c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:43.693 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:43.694 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.695 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.695 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:43.696 [print] KNMI 
* print operateson 000ms
05:05:43.697 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.698 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:43.700 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.701 [print] true 
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62b01550-9007-4634-b008-bd6071b34b2c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.010 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '972edbaa-f860-4c48-b449-4f238a263472' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:43.721 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:43.722 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.723 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.723 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:43.724 [print] Beheer PDOK 
* print operateson 000ms
05:05:43.725 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.727 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 002ms
05:05:43.730 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.731 [print] "true";"true" 
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.186 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
714ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '12505d53-a942-467e-a462-ddbe5ac6467f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:43.894 [print] https://haleconnect.com/ows/services/org.874.28716afd-1e98-4623-9239-8abbd9249408_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:43.895 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:43.896 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:43.896 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:43.897 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:05:43.898 [print] https://haleconnect.com/services/bsp/org.874.28716afd-1e98-4623-9239-8abbd9249408/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:43.900 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:43.901 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:43.902 [print] true 
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"12505d53-a942-467e-a462-ddbe5ac6467f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.606 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
718ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 686ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 003ms
05:05:44.310 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/hy-n\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:44.311 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:44.312 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:44.312 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:44.313 [print] Beheer PDOK 
* print operateson 000ms
05:05:44.313 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
05:05:44.318 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
05:05:44.322 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
05:05:44.325 [print] "true";"true" 
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.704 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
759ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 717ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2c2cc118-dee5-448f-9658-e2649bcb7d7f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 024ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:44.455 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:44.456 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:44.457 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:44.457 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:44.458 [print] KNMI 
* print operateson 000ms
05:05:44.459 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:44.460 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:44.463 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:44.464 [print] true 
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2c2cc118-dee5-448f-9658-e2649bcb7d7f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.735 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
745ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 719ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6308500-3439-4840-88cb-7532cabbfcb4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 003ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 005ms
* print connectUrl 001ms
05:05:44.475 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
05:05:44.477 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:44.477 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:44.478 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:44.479 [print] KNMI 
* print operateson 000ms
05:05:44.479 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:44.480 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:44.481 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:44.482 [print] true 
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c6308500-3439-4840-88cb-7532cabbfcb4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:43.905 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '94e5b115-bece-4140-99ed-93b8f363948e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e' 005ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:44.641 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:44.642 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:44.643 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:44.643 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:44.644 [print] Beheer PDOK 
* print operateson 000ms
05:05:44.644 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:44.646 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:44.647 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:44.649 [print] "true";"true" 
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:44.342 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:45.057 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.058 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.059 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.060 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.060 [print] Beheer PDOK 
* print operateson 000ms
05:05:45.061 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.062 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.063 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.064 [print] "true";"true" 
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
011ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:44.474 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 009ms
Tags: @step1
728ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:05:45.202 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.203 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.204 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.205 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.205 [print] Beheer PDOK 
* print operateson 000ms
05:05:45.205 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.208 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.210 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.213 [print] "true";"true" 
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:44.485 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:45.189 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.190 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.191 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.191 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.192 [print] Beheer PDOK 
* print operateson 000ms
05:05:45.192 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4b137b8-2317-42c2-aced-204c4216d68d&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=c4bed072-0fda-47b8-96fa-457a938b88fc&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3229e4d7-4bcd-4b94-819d-8e62de69ce2e&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 007ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.201 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 001ms
05:05:45.201 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.204 [print] "true";"true" 
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:44.652 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
726ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4041f923-6b77-4816-bf46-437e85416c31' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:45.374 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnmarienestrategie2018\/wms\/v1_0?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.375 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.376 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.376 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.377 [print] Beheer PDOK 
* print operateson 000ms
05:05:45.377 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.378 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.379 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.380 [print] "true";"true" 
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.068 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
682ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 668ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:45.746 [print] https://www.gdngeoservices.nl/inspire/wfs/olie_en_gasvelden?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.747 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.748 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.748 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.749 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:45.749 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.751 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.752 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.753 [print] "true";"true" 
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.209 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
757ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 741ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:45.961 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.962 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.963 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.963 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.964 [print] KNMI 
* print operateson 000ms
05:05:45.965 [print] https://haleconnect.com/services/bsp/org.874.0f6d394b-5d46-4e53-a985-8fd3bb721d8e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.967 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.968 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.969 [print] true 
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff7e9e1-cf7d-40cb-9efa-3a06b8aa4e40","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.216 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 702ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:05:45.931 [print] https://geodata.nationaalgeoregister.nl/bzk/bro-bodemkaart/wms/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:45.932 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:45.932 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:45.932 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:45.933 [print] Beheer PDOK 
* print operateson 000ms
05:05:45.933 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:45.936 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:45.938 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:45.939 [print] "true";"true" 
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.383 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
720ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:46.099 [print] https://www.gdngeoservices.nl/inspire/wfs/zoutvelden_en_productieputten?service=WFS&request=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:46.099 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:46.100 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:46.101 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:46.101 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:46.102 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:46.103 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:46.104 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:46.105 [print] "true";"true" 
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.756 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:46.460 [print] https://inspire.caris.nl/gs5/am/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:46.461 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:46.462 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:46.462 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:46.463 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:46.463 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:46.465 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:46.465 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:46.466 [print] "true";"true" 
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.943 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:46.654 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:46.655 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:46.656 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:46.656 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:46.657 [print] Beheer PDOK 
* print operateson 000ms
05:05:46.657 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:46.659 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:46.660 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:46.661 [print] "true";"true" 
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:45.972 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
731ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 003ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:46.696 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wfs?&request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:46.697 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:46.698 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:46.699 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:05:46.700 [print] Beheer PDOK 
* print operateson 001ms
05:05:46.702 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:46.704 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:46.705 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:46.706 [print] "true";"true" 
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:46.111 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
692ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872' 001ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 669ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:46.791 [print] https://www.broinspireservices.nl/wfs/osamepl-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:46.792 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:46.793 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:46.794 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:46.795 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:46.795 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:46.797 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:46.799 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:46.800 [print] "true";"true" 
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:46.469 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 685ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:47.163 [print] https://www.broinspireservices.nl/wfs/ossobor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:47.164 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:47.165 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:47.165 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:47.166 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:47.166 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:47.168 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:47.169 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:47.171 [print] "true";"true" 
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:46.685 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '57844c27-ff48-4e0b-9321-174d83829a19' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '57844c27-ff48-4e0b-9321-174d83829a19' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:47.393 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:47.394 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:47.395 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:47.395 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:47.396 [print] Beheer PDOK 
* print operateson 000ms
05:05:47.396 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:47.397 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:47.398 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:47.399 [print] "true";"true" 
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"57844c27-ff48-4e0b-9321-174d83829a19","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:46.710 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
753ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 740ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:47.460 [print] https://inspire.rivm.nl/geoserver/airq/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:47.460 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:47.461 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:47.461 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:47.462 [print] RIVM 
* print operateson 000ms
05:05:47.462 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:47.464 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:47.464 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:47.465 [print] "true";"true";"true" 
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:46.809 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 004ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b9fa42a0-41f9-4405-a593-d51721939222' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:47.522 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wfs/v1_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:47.522 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:47.523 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:47.523 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:47.524 [print] Beheer PDOK 
* print operateson 000ms
05:05:47.524 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:47.526 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:47.527 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:47.528 [print] "true";"true";"true" 
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b9fa42a0-41f9-4405-a593-d51721939222","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:47.176 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
737ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '745968a3-37af-4406-988e-ec595f58c7fe' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 722ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:47.908 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:47.909 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:47.910 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:47.910 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:47.911 [print] RIVM 
* print operateson 000ms
05:05:47.911 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:47.913 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:47.914 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:47.915 [print] "true";"true";"true" 
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:47.403 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
744ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 729ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.141 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.142 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.143 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.143 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.144 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:05:48.144 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.146 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.147 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.148 [print] "false";"false" 
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:47.469 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e010ca7e-090b-4e38-9ce3-561dcf94fb63' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.180 [print] https://service.pdok.nl/rws/geluidbelasting/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.181 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.182 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.182 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.183 [print] Beheer PDOK 
* print operateson 000ms
05:05:48.183 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.185 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.185 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.187 [print] "true";"true" 
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e010ca7e-090b-4e38-9ce3-561dcf94fb63","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:47.533 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 003ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
702ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 683ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 006ms
* print connectUrl 000ms
05:05:48.234 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.235 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.236 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.236 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.237 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:48.237 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.239 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.239 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.240 [print] "true";"true" 
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:47.918 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
720ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7af7b20d-3f8a-4d7f-8124-73980535a4f6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7af7b20d-3f8a-4d7f-8124-73980535a4f6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 004ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.635 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_dgm_rd/MapServer/WMSServer?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.635 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.636 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.636 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.637 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:48.637 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.638 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.639 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.640 [print] "true";"true" 
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7af7b20d-3f8a-4d7f-8124-73980535a4f6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.151 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 001ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
690ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 668ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '364c5d7a-d6ec-11ea-87d0-0242ac130003' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.829 [print] #notpresent 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.829 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.830 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.830 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 010ms
* print organisationpath 000ms
05:05:48.841 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:48.841 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=2a379cc6-d16e-11ea-87d0-0242ac130003&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.842 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.843 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.844 [print] "true";"true" 
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"364c5d7a-d6ec-11ea-87d0-0242ac130003","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.190 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
732ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.914 [print] https://geodata.nationaalgeoregister.nl/publiekrechtelijkebeperking/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.915 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.916 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.917 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.918 [print] Beheer PDOK 
* print operateson 000ms
05:05:48.918 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.920 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.921 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:48.922 [print] "true";"true" 
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 002ms
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.244 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
755ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 738ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:48.991 [print] https://service.pdok.nl/provincies/zwemwater-provinciaal-rijkswateren/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:48.992 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:48.992 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:48.992 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:48.993 [print] Beheer PDOK 
* print operateson 000ms
05:05:48.993 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:48.995 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:48.996 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:49.001 [print] "true";"true" 
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5a6c27b9-a7ed-4461-bd8c-4d022d04f1b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.643 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '070014b4-1f63-4819-beea-000b7d5f8d86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '070014b4-1f63-4819-beea-000b7d5f8d86' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:49.345 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:49.346 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:49.346 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:49.347 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:49.347 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:49.347 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:49.349 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:49.350 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:49.351 [print] "true";"true" 
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"070014b4-1f63-4819-beea-000b7d5f8d86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.847 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
792ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:49.635 [print] https://service.pdok.nl/provincies/begrenzingen-vergunde-ontgrondingsgebieden-zand-grindwinning/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:49.636 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:49.637 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:49.637 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:49.638 [print] Beheer PDOK 
* print operateson 000ms
05:05:49.638 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58e7dc38-a498-4852-b4ef-908f5baa9056#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:49.639 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:49.640 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:49.641 [print] "true";"true" 
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ab1c5d6a-c40f-4277-a9c0-a3e54f803c0f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:48.928 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 003ms
And param request = 'GetRecordById' 000ms
And param id = '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '13e4dff0-1e80-11e2-81c1-0800200c9a66' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:49.666 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:49.667 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:49.668 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:49.668 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:49.669 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:49.669 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http:\/\/www.isotc211.org\/2005\/gmd&ELEMENTSETNAME=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:49.671 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:49.672 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:49.673 [print] "true";"true" 
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"13e4dff0-1e80-11e2-81c1-0800200c9a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:49.004 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '78155dcb-61fa-4c16-896f-637f5936ce6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '78155dcb-61fa-4c16-896f-637f5936ce6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:49.720 [print] https://service.pdok.nl/provincies/zwemwaterkwaliteit-provinciaal-rijkswateren/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:49.721 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:49.722 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:49.722 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:49.723 [print] Beheer PDOK 
* print operateson 000ms
05:05:49.736 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df5ee213-e1bd-433b-80f7-4ea20f493ca8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:49.738 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:49.739 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:49.740 [print] "true";"true" 
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"78155dcb-61fa-4c16-896f-637f5936ce6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:49.354 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:50.058 [print] https://service.pdok.nl/kadaster/hy/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:50.059 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:50.059 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:50.060 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:50.060 [print] Beheer PDOK 
* print operateson 000ms
05:05:50.061 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:50.062 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:50.063 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:50.064 [print] "true";"true" 
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88c6f637-ed7a-4d3a-8ff3-afc8a6b744d6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:49.644 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 702ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb85e473-c04a-42a6-9fdc-f0bb0239327e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:50.354 [print] https://service.pdok.nl/kadaster/gebouwen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:50.355 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:50.355 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:50.356 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:50.356 [print] Beheer PDOK 
* print operateson 000ms
05:05:50.356 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:50.358 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:50.359 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:50.360 [print] "true";"true" 
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bb85e473-c04a-42a6-9fdc-f0bb0239327e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:49.676 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 720ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd84b0a71-4460-4e16-8a7e-5507f2e6bcbf' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:50.406 [print] https://service.pdok.nl/bzk/bro-grondwaterspiegeldiepte/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:50.407 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:50.408 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:50.409 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:50.410 [print] Beheer PDOK 
* print operateson 000ms
05:05:50.410 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b756dabe-a331-42cd-b45e-f61828ee4534#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:50.412 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:50.413 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:50.414 [print] "true";"true" 
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d84b0a71-4460-4e16-8a7e-5507f2e6bcbf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:49.744 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 002ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd624bfd0-8f21-44c4-a22c-0f0877a539fc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:50.448 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:50.448 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:50.449 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:50.449 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:50.450 [print] Beheer PDOK 
* print operateson 000ms
05:05:50.450 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:50.452 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:50.452 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:50.453 [print] "true";"true" 
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d624bfd0-8f21-44c4-a22c-0f0877a539fc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:50.067 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d7ca7bc-99de-4539-af33-70b206f29355' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:50.788 [print] https://service.pdok.nl/kadaster/adressen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:50.789 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:50.789 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:50.789 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:50.790 [print] Beheer PDOK 
* print operateson 000ms
05:05:50.790 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:50.792 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:50.792 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:50.793 [print] "true";"true" 
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d7ca7bc-99de-4539-af33-70b206f29355","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:50.363 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
711ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5f0c583a-101e-45ea-b684-a056713cf811' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.070 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-baseline-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.070 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.071 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.071 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.072 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:51.073 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.074 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.075 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.076 [print] "true";"true" 
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:50.418 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
723ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.137 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.138 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.138 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.139 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.139 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.140 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.141 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.142 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.143 [print] "true";"true" 
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:50.456 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 715ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710a6a9b-c09f-4660-b15a-2d5bee27e7e3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.180 [print] https://service.pdok.nl/cbs/gebiedsindelingen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.181 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.182 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.182 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.183 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.184 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.185 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.186 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.187 [print] "true";"true" 
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"710a6a9b-c09f-4660-b15a-2d5bee27e7e3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:50.797 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '931b1a00-ad24-4eed-a73c-cb5441056136' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '931b1a00-ad24-4eed-a73c-cb5441056136' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.501 [print] https://service.pdok.nl/rvo/nationaleparken/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.501 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.502 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.502 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.503 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.503 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.505 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.505 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.506 [print] "true";"true" 
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"931b1a00-ad24-4eed-a73c-cb5441056136","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.079 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
705ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.784 [print] https://service.pdok.nl/bzk/bro-geomorfologischekaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.784 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.785 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.785 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.786 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.786 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.787 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.788 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.789 [print] #notpresent 
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"56e8ce20-0e6f-4ef2-8c09-6e30bc3680b9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.146 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
765ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 743ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08a784fe-0da8-4ede-bec9-c28fa81fc11d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 008ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.906 [print] https://service.pdok.nl/provincies/provinciaal-landschapsbeleid/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 001ms
05:05:51.908 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.909 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.909 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.910 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.910 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.912 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.912 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.913 [print] "true";"true" 
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"08a784fe-0da8-4ede-bec9-c28fa81fc11d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.191 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
749ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 738ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b914aa84-1a15-4d6c-950e-00c739946029' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:51.937 [print] https://service.pdok.nl/rvo/restwarmte/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:51.937 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:51.938 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:51.938 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:51.939 [print] Beheer PDOK 
* print operateson 000ms
05:05:51.939 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:51.941 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:51.941 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:51.942 [print] "true";"true" 
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b914aa84-1a15-4d6c-950e-00c739946029","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.510 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
699ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 687ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:52.205 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:52.206 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:52.206 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:52.207 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:52.207 [print] Beheer PDOK 
* print operateson 000ms
05:05:52.207 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ror-9d8e-4758-83fx-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:52.209 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:52.210 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:52.210 [print] "true";"true" 
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.792 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47d416f8-76e8-441c-9b19-c8f889dfe62c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47d416f8-76e8-441c-9b19-c8f889dfe62c' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:52.496 [print] https://service.pdok.nl/kadaster/gn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:52.496 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:52.497 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:52.497 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:52.498 [print] Beheer PDOK 
* print operateson 000ms
05:05:52.498 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:52.499 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:52.500 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:52.501 [print] "true";"true" 
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47d416f8-76e8-441c-9b19-c8f889dfe62c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.917 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 689ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:52.614 [print] https://service.pdok.nl/cbs/pd/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:52.615 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:52.616 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:52.616 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:52.617 [print] Beheer PDOK 
* print operateson 000ms
05:05:52.617 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:52.618 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:52.619 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:52.619 [print] "true";"true" 
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:51.945 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:52.652 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-aansluitende-zone-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:52.653 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:52.654 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:52.654 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:52.655 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:52.656 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:52.657 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:52.658 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:52.659 [print] "true";"true" 
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:52.214 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
710ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1512b29e-80d4-4677-bcae-a3f9f82a223d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 690ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1512b29e-80d4-4677-bcae-a3f9f82a223d' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:52.917 [print] https://service.pdok.nl/brt/top10nl/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:52.918 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:52.919 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:52.920 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:52.921 [print] Beheer PDOK 
* print operateson 000ms
05:05:52.921 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=29d5310f-dd0d-45ba-abad-b4ffc6b8785f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:52.923 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:52.924 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:52.925 [print] "true";"true" 
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1512b29e-80d4-4677-bcae-a3f9f82a223d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:52.504 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:53.212 [print] https://service.pdok.nl/rvo/invasieve-exoten/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:53.212 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:53.213 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:53.213 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:53.214 [print] Beheer PDOK 
* print operateson 000ms
05:05:53.215 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:53.216 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:53.217 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:53.218 [print] "true";"true" 
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:52.622 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
685ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 668ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:53.300 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:53.302 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:53.303 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:53.303 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:53.304 [print] Beheer PDOK 
* print operateson 000ms
05:05:53.304 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:53.305 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:53.306 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:53.307 [print] "true";"true";"true" 
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
009ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:52.662 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 008ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68a7e4c1-0073-4a1a-a6df-084d2badf45a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:53.377 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:53.378 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:53.378 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:53.379 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:53.379 [print] Beheer PDOK 
* print operateson 000ms
05:05:53.379 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:53.382 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:53.384 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:53.385 [print] "true";"true" 
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68a7e4c1-0073-4a1a-a6df-084d2badf45a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:52.936 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 006ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 686ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0017219b-fb75-47aa-a6bf-496f2514e545' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:53.637 [print] https://service.pdok.nl/provincies/aardkundige-waarden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:53.638 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:53.639 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:53.639 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:53.640 [print] Beheer PDOK 
* print operateson 000ms
05:05:53.640 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:53.641 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:53.642 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 007ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:53.651 [print] "true";"true" 
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0017219b-fb75-47aa-a6bf-496f2514e545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:53.222 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
693ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 681ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:53.912 [print] https://www.gdngeoservices.nl/inspire/downloads/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:53.912 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:53.913 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:53.913 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:53.914 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:53.914 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:53.915 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:53.916 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:53.917 [print] "true";"true" 
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:53.313 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
710ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0fa448bb-332b-40b2-adab-13626b29bee6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.019 [print] https://service.pdok.nl/kadaster/lu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.020 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.021 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.021 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.021 [print] Beheer PDOK 
* print operateson 000ms
05:05:54.022 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a88#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.023 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.024 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.024 [print] "true";"true" 
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 001ms
* eval db.writeln('"0fa448bb-332b-40b2-adab-13626b29bee6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:53.389 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 675ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c651e06-858e-4184-8de3-da9def9c6fd0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.073 [print] https://service.pdok.nl/bzk/bro-bodemkaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.074 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.074 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.075 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.076 [print] Beheer PDOK 
* print operateson 000ms
05:05:54.076 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.078 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.079 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.080 [print] "true";"true" 
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c651e06-858e-4184-8de3-da9def9c6fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:53.654 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
737ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c47e4ef8-951e-4765-8d01-29150c12a22d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 725ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c47e4ef8-951e-4765-8d01-29150c12a22d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.388 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.389 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.389 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.390 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.390 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:05:54.391 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=7D35598D-DFBF-C64D-0F1A-92A80A45EB14&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.392 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.393 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.394 [print] "true";"true" 
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c47e4ef8-951e-4765-8d01-29150c12a22d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:53.920 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 715ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8fb3a06d-af1a-4da9-a769-41edf3591805' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 008ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.651 [print] https://service.pdok.nl/provincies/stiltegebieden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.652 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.653 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.653 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.654 [print] Beheer PDOK 
* print operateson 000ms
05:05:54.654 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.656 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.657 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.658 [print] "true";"true" 
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8fb3a06d-af1a-4da9-a769-41edf3591805","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.029 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
718ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101304f0-2cf2-4ce0-aa23-cd7e4000fbba' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.744 [print] https://service.pdok.nl/kadaster/sr/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.745 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.745 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.746 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.746 [print] Beheer PDOK 
* print operateson 000ms
05:05:54.746 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.748 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.749 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.749 [print] "true";"true" 
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"101304f0-2cf2-4ce0-aa23-cd7e4000fbba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.083 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
720ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:54.797 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:54.798 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:54.799 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:54.800 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:54.801 [print] Beheer PDOK 
* print operateson 000ms
05:05:54.801 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:54.803 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:54.804 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:54.805 [print] "true";"true" 
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3c47e1a8-a6a2-45e4-bfec-0f334c9fbc9d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.397 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '559f7f5b-44fc-4003-9fb5-4d8c9aff6060' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:55.102 [print] https://service.pdok.nl/kadaster/tn/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:55.103 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:55.104 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
05:05:55.106 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:55.107 [print] Beheer PDOK 
* print operateson 000ms
05:05:55.107 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 004ms
05:05:55.113 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:55.114 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:55.115 [print] "true";"true" 
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"559f7f5b-44fc-4003-9fb5-4d8c9aff6060","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.661 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
695ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 679ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:55.349 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:55.350 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:55.351 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:55.351 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:55.352 [print] RIVM 
* print operateson 000ms
05:05:55.352 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:55.354 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:55.355 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:55.356 [print] "true";"true";"true" 
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 002ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.753 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '47470f53-e0aa-45f3-ada3-ddf130dd54af' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '47470f53-e0aa-45f3-ada3-ddf130dd54af' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:55.467 [print] https://service.pdok.nl/cbs/wb2021/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:55.467 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:55.468 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:55.469 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:55.470 [print] Beheer PDOK 
* print operateson 000ms
05:05:55.470 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:55.471 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:55.472 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:55.473 [print] "true";"true" 
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"47470f53-e0aa-45f3-ada3-ddf130dd54af","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:54.808 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
697ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 685ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:55.501 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:55.502 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:55.503 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:55.503 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:55.504 [print] RIVM 
* print operateson 000ms
05:05:55.504 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:55.506 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:55.507 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:55.507 [print] "true";"true";"true" 
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:55.127 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:55.835 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:55.836 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:55.836 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:55.837 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:55.837 [print] RIVM 
* print operateson 000ms
05:05:55.837 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:55.839 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:55.840 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:55.841 [print] "true";"true";"true" 
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:55.363 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
710ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.067 [print] https://inspire.caris.nl/geoserver/gnwms/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:56.068 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.069 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.069 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.070 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:56.071 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:56.072 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.074 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.075 [print] "true";"true" 
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
004ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:55.477 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 003ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
780ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c' 008ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.255 [print] https://service.pdok.nl/ienw/geluidskaartschipholnacht/wms/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:56.256 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.256 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.257 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.257 [print] Beheer PDOK 
* print operateson 000ms
05:05:56.257 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:56.259 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.260 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.261 [print] "true";"true" 
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:55.512 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
795ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.300 [print] https://inspire.rivm.nl/geoserver/airq/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:56.300 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.301 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.301 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.302 [print] RIVM 
* print operateson 000ms
05:05:56.302 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 003ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:56.306 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.307 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.309 [print] "true";"true";"true" 
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:55.844 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
711ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.550 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Maritieme-grenzen-Noordzee.gml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:56.551 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.551 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.551 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.552 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:56.552 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
05:05:56.555 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.556 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Dataset is geharmoniseerd";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.557 [print] "true";"true" 
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.079 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dc9fbc85-1263-4a1b-b001-7be701a6039e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.792 [print] https://service.pdok.nl/kadaster/plu/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:56.793 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.794 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.794 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.795 [print] Beheer PDOK 
* print operateson 000ms
05:05:56.795 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:56.796 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.797 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.798 [print] "true";"true" 
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dc9fbc85-1263-4a1b-b001-7be701a6039e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.265 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f38ea40d-9029-465c-9db2-c8a3099e21a2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:56.965 [print] https://service.pdok.nl/provincies/wet-ammoniak-veehouderij-gebieden/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 007ms
* print protocol1 000ms
05:05:56.973 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:56.974 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:56.975 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:56.975 [print] Beheer PDOK 
* print operateson 000ms
05:05:56.976 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:56.977 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:56.978 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:56.979 [print] "true";"true" 
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f38ea40d-9029-465c-9db2-c8a3099e21a2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.312 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '252db472-201d-430b-9c55-4d37563787bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '252db472-201d-430b-9c55-4d37563787bc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:57.015 [print] https://service.pdok.nl/rws/vaarwegmarkeringennld/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:57.016 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:57.017 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:57.018 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:57.019 [print] Beheer PDOK 
* print operateson 000ms
05:05:57.019 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:57.021 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:57.022 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:57.023 [print] "true";"true" 
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"252db472-201d-430b-9c55-4d37563787bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.560 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
737ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 724ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:57.293 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:57.293 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:57.294 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:57.295 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:57.295 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:05:57.296 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:57.297 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:57.298 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:57.299 [print] "false";"false" 
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.802 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 676ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:57.487 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:57.487 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:57.488 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:57.488 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:57.489 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:05:57.489 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:57.491 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:57.492 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:57.493 [print] "false";"false" 
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:56.982 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
783ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 755ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:05:57.750 [print] https://services.rce.geovoorziening.nl/www/download/nl.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:57.751 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:57.752 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:57.752 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:57.753 [print] Rijksdienst voor het Cultureel Erfgoed 
* print operateson 000ms
05:05:57.754 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=6f84efeb-fc1d-4565-a721-80735ea57dbd#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=88a3c1ae-902e-4efa-8663-ddd836101929#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 008ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:57.764 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:57.774 [print] "Nadere uitleg bij het al dan niet volledig voldoen aan de specificatie";"Open Search mechanisme van het Nationaal Georegister functioneert nog niet naar behoren." 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:57.775 [print] "true";"false" 
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:57.026 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 737ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 006ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:57.778 [print] https://service.pdok.nl/hwh/hydrografie/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:57.779 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:57.779 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:57.779 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:57.780 [print] Beheer PDOK 
* print operateson 000ms
05:05:57.780 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 003ms
05:05:57.786 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:57.787 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:57.788 [print] "true";"true" 
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:57.302 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8eb296dd-0e1d-4ed9-be24-297149d770f8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 715ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8eb296dd-0e1d-4ed9-be24-297149d770f8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.027 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2015/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:05:58.028 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.029 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.029 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.030 [print] Beheer PDOK 
* print operateson 000ms
05:05:58.030 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.031 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.032 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.033 [print] "true";"true" 
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8eb296dd-0e1d-4ed9-be24-297149d770f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:57.496 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
705ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.197 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:58.197 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.198 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.198 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.199 [print] RIVM 
* print operateson 000ms
05:05:58.199 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.200 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.201 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.202 [print] "true";"true";"true" 
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
007ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:57.784 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 006ms
Tags: @step1
746ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '28e6b45e-7627-454d-99a0-4119bbe1678d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 724ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '28e6b45e-7627-454d-99a0-4119bbe1678d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.522 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:58.523 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.524 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.525 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.526 [print] Beheer PDOK 
* print operateson 007ms
05:05:58.533 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.535 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.536 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.537 [print] "true";"true" 
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"28e6b45e-7627-454d-99a0-4119bbe1678d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:57.794 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
763ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 748ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.552 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:58.552 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.553 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.554 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.555 [print] Beheer PDOK 
* print operateson 000ms
05:05:58.555 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.557 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.558 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.559 [print] "true";"true" 
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.036 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.754 [print] https:\/\/geodata.nationaalgeoregister.nl\/rwsgeluidskaarten\/wfs?service=WFS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:58.755 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.756 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.756 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.757 [print] Beheer PDOK 
* print operateson 000ms
05:05:58.757 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.759 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.761 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.762 [print] "true";"true" 
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.205 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
703ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 689ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe4b36d5-8f69-403f-b084-ce010a4ae3b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:58.902 [print] https://service.pdok.nl/rvo/natura2000/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:58.903 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:58.904 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:58.905 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:58.905 [print] Beheer PDOK 
* print operateson 000ms
05:05:58.906 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:58.907 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:58.908 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:58.909 [print] "true";"true" 
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"fe4b36d5-8f69-403f-b084-ce010a4ae3b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.540 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
761ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 746ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:59.295 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-EEZ-volgens-UNCLOS-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:05:59.298 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:59.299 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:59.299 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:59.300 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:59.300 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:59.301 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:59.302 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:59.303 [print] "true";"true" 
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.566 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
759ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7977f282-433e-41f9-940b-63f5d28ee44c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 747ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7977f282-433e-41f9-940b-63f5d28ee44c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:59.321 [print] https://service.pdok.nl/provincies/stiltegebieden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:59.322 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:59.323 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:59.323 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:59.324 [print] Beheer PDOK 
* print operateson 000ms
05:05:59.324 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:59.326 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:59.326 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:59.327 [print] "true";"true" 
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7977f282-433e-41f9-940b-63f5d28ee44c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.765 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:59.480 [print] https://service.pdok.nl/kadaster/cp/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:59.481 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:59.481 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:59.481 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:59.482 [print] Beheer PDOK 
* print operateson 000ms
05:05:59.482 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:59.484 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:59.484 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:59.485 [print] "true";"true" 
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:58.913 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
723ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:05:59.632 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Territoriale-Zee-Noordzee-feed.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:05:59.633 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:05:59.634 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:05:59.634 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:05:59.635 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:05:59.635 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:05:59.636 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:05:59.637 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:05:59.638 [print] "true";"true" 
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:59.306 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.036 [print] https://www.broinspireservices.nl/wms/ossosgm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.037 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.038 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.038 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.039 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:00.039 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.040 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.041 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.042 [print] "true";"false" 
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:59.330 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 724ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.062 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.063 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.064 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.064 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.065 [print] RIVM 
* print operateson 000ms
05:06:00.065 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.067 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.067 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.068 [print] "true";"true";"true" 
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:59.488 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 700ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.198 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wfs\/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.199 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.200 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.200 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.201 [print] Beheer PDOK 
* print operateson 000ms
05:06:00.201 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.203 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.204 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.206 [print] "true";"true" 
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:05:59.641 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
727ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.363 [print] http:\/\/services.inspire-provincies.nl\/HabitatsAndBiotopes\/services\/view_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:00.364 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.365 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.365 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.366 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:00.366 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.368 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.369 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.370 [print] "false";"true";"true" 
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
006ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.045 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 005ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
726ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.771 [print] https://service.pdok.nl/rvo/invasieve-exoten/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.772 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.773 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.773 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.774 [print] Beheer PDOK 
* print operateson 000ms
05:06:00.775 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.776 [print] "http:\/\/";"";"http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.777 [print] "";"Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.778 [print] "true";"true";"true" 
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.072 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
753ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 737ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.818 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.819 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.820 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.820 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.822 [print] Beheer PDOK 
* print operateson 000ms
05:06:00.822 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.824 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.825 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.826 [print] "true";"true" 
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.209 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '448cc407-e405-4f07-8260-7489ec3b4f14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '448cc407-e405-4f07-8260-7489ec3b4f14' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:00.926 [print] https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wms/v1_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:00.927 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:00.928 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:00.928 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:00.929 [print] Beheer PDOK 
* print operateson 000ms
05:06:00.929 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9bf1ce1-5197-409e-b19e-340e50afafc4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:00.930 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:00.931 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:00.932 [print] "true";"true" 
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"448cc407-e405-4f07-8260-7489ec3b4f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.373 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '54122631-d343-40be-9c28-e44626b37a0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 007ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:01.094 [print] https://service.pdok.nl/cbs/hh/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:01.095 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:01.096 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:01.096 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:01.097 [print] Beheer PDOK 
* print operateson 000ms
05:06:01.097 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:01.098 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:01.099 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:01.100 [print] "true";"true" 
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.781 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
738ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 719ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 002ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:01.513 [print] https://service.pdok.nl/cbs/pd/wfs/v1_0?service=WFS&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:01.514 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:01.515 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:01.515 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:01.516 [print] Beheer PDOK 
* print operateson 000ms
05:06:01.517 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:01.519 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs ." 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:01.520 [print] "Deze service voldoet aan specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:01.521 [print] "true";"true";"true" 
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.829 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
985ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '76854ff3-a853-4405-b9fd-acef66460376' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 893ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376' 004ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 005ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 005ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 003ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:01.770 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
05:06:01.774 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 003ms
* print protocol2 000ms
05:06:01.777 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:01.777 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 005ms
* print organisationpath 000ms
05:06:01.783 [print] Beheer PDOK 
* print operateson 000ms
05:06:01.783 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 005ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 005ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:01.795 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 005ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:01.802 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 014ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:01.816 [print] "true";"true" 
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:00.935 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
740ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '55cf16e8-1c04-462c-b78a-e0d28823dd2e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:01.671 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:01.672 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:01.673 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:01.673 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:01.674 [print] KNMI 
* print operateson 000ms
05:06:01.674 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:01.675 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:01.676 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:01.677 [print] true 
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"55cf16e8-1c04-462c-b78a-e0d28823dd2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:01.103 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
740ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 723ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:01.837 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/view_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:01.838 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:01.839 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:01.839 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:01.840 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:01.841 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:01.842 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:01.843 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:01.845 [print] "false";"true";"true" 
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:01.530 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
709ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 690ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:02.230 [print] https://inspire.caris.nl/gs5/am/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:02.231 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:02.232 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:02.232 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:02.233 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:02.233 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:02.234 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:02.235 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 006ms
05:06:02.242 [print] "true";"true" 
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:01.680 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
751ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 729ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff2a91df-931c-46fe-8f07-a1ec64e1335e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:02.418 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:02.419 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:02.420 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:02.420 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:02.420 [print] KNMI 
* print operateson 000ms
05:06:02.421 [print] https://haleconnect.com/services/bsp/org.874.794fa9da-8bf0-4053-83d8-1174f2317dcb/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:02.422 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:02.423 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
05:06:02.426 [print] true 
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 003ms
* eval db.writeln('"ff2a91df-931c-46fe-8f07-a1ec64e1335e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 004ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:01.820 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:02.542 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/download_NZ?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:02.543 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:02.544 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:02.544 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:02.545 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:02.546 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:02.547 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:02.548 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:02.549 [print] "false";"true";"true" 
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 001ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:01.848 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
731ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:02.570 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/view_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:02.571 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:02.571 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:02.572 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:02.573 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:02.573 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 005ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:02.579 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:02.580 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services 3.1";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:02.581 [print] "false";"true";"true" 
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:02.245 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
709ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:02.948 [print] http://services.inspire-provincies.nl/HabitatsAndBiotopes/services/download_HB?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:02.949 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:02.950 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:02.950 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:02.951 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:02.952 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:02.953 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:02.954 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:02.956 [print] "false";"true";"true" 
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:02.439 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
757ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 735ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 007ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:03.190 [print] http:\/\/services.inspire-provincies.nl\/EnvironmentalMonitoringFacilities\/services\/download_EF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:03.191 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:03.191 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:03.192 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:03.192 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:03.193 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:03.194 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:03.196 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:03.197 [print] "false";"true";"true" 
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:02.554 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
743ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 730ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:03.293 [print] https://inspire.rivm.nl/sos/eaq/service?service=AQD&version=1.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:03.294 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:03.295 [print] OGC:SOS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:03.295 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:03.296 [print] RIVM 
* print operateson 000ms
05:06:03.296 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/en\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:03.298 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:03.298 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Voldoet aan de SDS interoperabilities specificaties.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Voldoet aan de download specificaties";"OGC Sensor Observation Service Interface Standard";"Conform OGC SOS specificaties" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:03.299 [print] "true";"true";"true" 
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:02.584 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
745ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 732ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e01d173-96f4-40b1-8236-c6a9cfdac252' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:03.325 [print] https://haleconnect.com/ows/services/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:03.325 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:03.326 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:03.326 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:03.327 [print] KNMI 
* print operateson 000ms
05:06:03.327 [print] https://haleconnect.com/services/bsp/org.874.512633c0-2899-4f9d-b2d1-1bd51cb2315a/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:03.329 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:03.330 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:03.331 [print] true 
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e01d173-96f4-40b1-8236-c6a9cfdac252","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:02.959 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 002ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '914a6e0c-2aae-42f8-8425-2a047c245dab' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '914a6e0c-2aae-42f8-8425-2a047c245dab' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:03.691 [print] https://haleconnect.com/ows/services/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:03.692 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:03.693 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:03.693 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:03.694 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:06:03.694 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:03.696 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:03.698 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:03.699 [print] true 
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"914a6e0c-2aae-42f8-8425-2a047c245dab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:03.200 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
1s 025ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 857ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5' 018ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 006ms
* def title = get response //citation/CI_Citation/title/CharacterString 006ms
* def email = get response //electronicMailAddress/CharacterString 006ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 006ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 006ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 009ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 003ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 004ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.128 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsoorten\/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 003ms
* print protocol1 000ms
05:06:04.133 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 004ms
* print protocol2 000ms
05:06:04.137 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.138 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 006ms
* print organisationpath 000ms
05:06:04.145 [print] Beheer PDOK 
* print operateson 013ms
05:06:04.158 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 006ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 013ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 002ms
05:06:04.180 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 022ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 007ms
05:06:04.210 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 016ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.227 [print] "true";"true" 
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:03.303 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
743ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 709ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 009ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.034 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsoorten\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:04.036 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:04.038 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 001ms
05:06:04.039 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:04.041 [print] Beheer PDOK 
* print operateson 000ms
05:06:04.041 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.044 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.046 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.048 [print] "true";"true" 
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:03.334 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
755ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9de0d2fa-debc-4f27-8298-5399b7844962' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9de0d2fa-debc-4f27-8298-5399b7844962' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 005ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 005ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 009ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 003ms
* print connectUrl 000ms
05:06:04.073 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs/org.874.1d098355-23c3-4bd3-adf6-192549933ec3?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:04.074 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:04.075 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.076 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 009ms
05:06:04.086 [print] KNMI 
* print operateson 000ms
05:06:04.086 [print] https://haleconnect.com/services/bsp/org.874.1d098355-23c3-4bd3-adf6-192549933ec3/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.088 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.089 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.090 [print] true 
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9de0d2fa-debc-4f27-8298-5399b7844962","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:03.702 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
784ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 741ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 003ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 003ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 003ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.468 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:04.470 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:06:04.472 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.472 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:06:04.475 [print] Beheer PDOK 
* print operateson 000ms
05:06:04.475 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 003ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.481 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.484 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 003ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.487 [print] "true";"true" 
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.052 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 001ms
Tags: @step1
737ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.783 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:04.784 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:04.785 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.785 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:04.786 [print] Beheer PDOK 
* print operateson 000ms
05:06:04.787 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.788 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.789 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.790 [print] "true";"true" 
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.094 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 711ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deb81ebe-c7a7-42ba-bc21-f07cd348c3e8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.819 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw-inspire?request=GetCapabilities&Service=CSW&Version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:04.819 [print] OGC:CSW 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:04.820 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.820 [print] OGC:CSW 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:04.821 [print] Beheer PDOK 
* print operateson 000ms
05:06:04.821 [print] #notpresent 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.823 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-discovery-services-0" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.824 [print] "Deze service is conform INSPIRE richtlijn betreffende netwerkdiensten";"Deze service is conform INSPIRE richtlijn betreffende diensten met betrekking tot ruimtelijke gegevens";"Deze service is conform de Technical Guidance for INSPIRE Discovery Services" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.824 [print] "true";"true";"true" 
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deb81ebe-c7a7-42ba-bc21-f07cd348c3e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.239 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 702ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:04.951 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:04.952 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:04.953 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:04.953 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:04.954 [print] Beheer PDOK 
* print operateson 000ms
05:06:04.954 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:04.955 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:04.957 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:04.958 [print] "true";"true" 
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.491 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
788ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 737ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b' 002ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 002ms
* def title = get response //citation/CI_Citation/title/CharacterString 002ms
* def email = get response //electronicMailAddress/CharacterString 002ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 002ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 002ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 001ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 001ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:05.251 [print] https:\/\/geodata.nationaalgeoregister.nl\/habitatrichtlijnverspreidingsgebieden\/v2\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:05.253 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 001ms
* print protocol2 000ms
05:06:05.255 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:05.256 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 002ms
* print organisationpath 000ms
05:06:05.258 [print] Beheer PDOK 
* print operateson 000ms
05:06:05.259 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 002ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 013ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:05.274 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 002ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:05.277 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 002ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:05.280 [print] "true";"true" 
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.794 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
756ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 733ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 011ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:05.546 [print] https://www.gdngeoservices.nl/inspire/wms/olie_en_gasvelden?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:05.547 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:05.547 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:05.547 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:05.548 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:05.548 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:05.549 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:05.550 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:05.552 [print] "true";"false" 
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.827 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
751ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 738ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:05.574 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:05.574 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:05.575 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:05.576 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:05.576 [print] Beheer PDOK 
* print operateson 000ms
05:06:05.577 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:05.578 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:05.579 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:05.580 [print] "true";"true" 
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:04.961 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '03c39474-aef9-4169-95da-9890af440b14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 776ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 010ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:05.754 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:05.755 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:05.756 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:05.756 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 005ms
05:06:05.762 [print] RIVM 
* print operateson 000ms
05:06:05.762 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:05.764 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:05.765 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:05.766 [print] "true";"true";"true" 
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:05.283 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
756ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 732ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60dc9632-50c8-40b1-ac63-cd91b85352d2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:06.024 [print] https://service.pdok.nl/cbs/wb2021/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:06.024 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:06.025 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:06.025 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:06.026 [print] Beheer PDOK 
* print operateson 000ms
05:06:06.026 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 012ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:06.039 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-invocable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:06.040 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"De service voldoet aan de requirements van de invocable conformance class";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:06.040 [print] "true";"true";"true" 
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"60dc9632-50c8-40b1-ac63-cd91b85352d2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:05.555 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 772ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:06.336 [print] https:\/\/service.pdok.nl\/cbs\/bestandbodemgebruik\/2015\/wms\/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:06.336 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:06.337 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:06.337 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:06.338 [print] Beheer PDOK 
* print operateson 000ms
05:06:06.338 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:06.339 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:06.340 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:06.341 [print] "true";"true" 
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:05.583 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
785ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 771ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:06.362 [print] https://service.pdok.nl/cbs/hh/wfs/v1_0?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:06.362 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:06.363 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:06.364 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:06.365 [print] Beheer PDOK 
* print operateson 000ms
05:06:06.365 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:06.367 [print] "http:\/\/data.europa.eu\/eli\/reg\/2010\/1089";"http:\/\/inspire.ec.europa.eu\/id\/ats\/metadata\/2.0\/sds-interoperable";"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:06.368 [print] "Deze service voldoet aan de specificaties voor spatial data services";"De service voldoet aan de requirements van de interoperable conformance class.";"De service voldoet aan de requirements van de WFS 2.0 conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:06.369 [print] "true";"true";"true" 
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:05.770 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eec0708d-bab6-41c2-aa5b-9c435a1a177e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:06.488 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/service/atom/id_predefined_dataset 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:06.489 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:06.489 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:06.489 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:06.490 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI) 
* print operateson 000ms
05:06:06.490 [print] https://haleconnect.com/services/bsp/org.874.7e01e60c-8887-425c-af9b-e2cf6af9181b/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:06.492 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:06.492 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:06.493 [print] true 
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eec0708d-bab6-41c2-aa5b-9c435a1a177e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:06.043 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
711ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:06.751 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:06.752 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:06.752 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:06.752 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:06.753 [print] Beheer PDOK 
* print operateson 000ms
05:06:06.753 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:06.754 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:06.755 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:06.756 [print] "true";"true" 
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:06.344 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd1cb16ca-2029-454f-b3f1-f70bceaf62c1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.047 [print] https:\/\/service.pdok.nl\/bzk\/bro-geomorfologischekaart\/wms\/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.047 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.048 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.048 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:07.049 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.049 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=459231d0-7379-4f26-a444-7616e1d888f0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.050 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.050 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.051 [print] #notpresent 
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d1cb16ca-2029-454f-b3f1-f70bceaf62c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:06.371 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
728ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 715ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.095 [print] https://geodata.nationaalgeoregister.nl/overheidsdiensten/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.096 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.096 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.097 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:07.097 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.097 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.099 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.100 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.100 [print] "true";"true" 
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:06.496 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
709ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.201 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwater2015\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.202 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.202 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.202 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:07.203 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.203 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.205 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.205 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.206 [print] "true";"true" 
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:06.759 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.462 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbwegen\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.463 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.464 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.464 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:07.465 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.465 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.467 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.468 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.469 [print] "true";"true" 
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.054 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
753ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 742ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26e2e9f4-be88-4c8c-bdef-94edfa93bde9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.803 [print] https://service.pdok.nl/bzk/bro-hydrogeology/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.804 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.805 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.805 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:07.805 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.805 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.807 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.807 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.808 [print] "true";"true" 
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"26e2e9f4-be88-4c8c-bdef-94edfa93bde9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.103 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
730ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2931d583-9633-49d3-ad38-aabea82f6751' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 002ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.819 [print] https://service.pdok.nl/bzk/bro-hydrogeology/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.820 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.821 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.821 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:07.822 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.823 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 009ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:07.833 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.834 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.835 [print] "true";"true" 
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2931d583-9633-49d3-ad38-aabea82f6751","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.209 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 700ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:07.918 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/kaderrichtlijnwateractueel\/wms\/v1_0?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:07.918 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:07.919 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:07.919 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 001ms
05:06:07.922 [print] Beheer PDOK 
* print operateson 000ms
05:06:07.922 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 001ms
05:06:07.925 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:07.926 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:07.926 [print] "true";"true" 
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.472 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
748ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 736ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:08.215 [print] https://www.broinspireservices.nl/wms/osgegmw-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:08.216 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:08.217 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:08.217 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:08.218 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:08.218 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:08.219 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:08.220 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:08.221 [print] "true";"false" 
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.811 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 756ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:08.574 [print] https://www.gdngeoservices.nl/inspire/wms/oppervlaktegeologie?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:08.575 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:08.576 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:08.576 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:08.576 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:08.576 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:08.578 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:08.578 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:08.579 [print] "true";"false" 
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.838 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
694ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 682ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:08.528 [print] https:\/\/geodata.nationaalgeoregister.nl\/weggeg\/wms?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:08.529 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:08.530 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:08.530 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:08.531 [print] Beheer PDOK 
* print operateson 000ms
05:06:08.531 [print] ["http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification","http:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http:\/\/www.isotc211.org\/2005\/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:08.532 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:08.533 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:08.534 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
005ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:07.930 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 004ms
Tags: @step1
713ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:08.644 [print] https://www.gdngeoservices.nl/inspire/wms/zoutvelden_en_productieputten?service=WMS&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:08.644 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:08.645 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:08.645 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:08.646 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:08.646 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:08.647 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:08.648 [print] "Technical Guidance for the implementation of INSPIRE View Services";"De service voldoet niet aan de richtlijnen van INSPIRE vanwege technische beperkingen";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:08.649 [print] "false";"false" 
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:08.224 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 722ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:08.954 [print] https:\/\/geodata.nationaalgeoregister.nl\/nwbvaarwegen\/wms?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:08.955 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:08.955 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:08.955 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:08.956 [print] Beheer PDOK 
* print operateson 000ms
05:06:08.956 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:08.958 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:08.958 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:08.959 [print] "true";"true" 
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:08.538 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
846ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 827ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:09.373 [print] https:\/\/geodata.nationaalgeoregister.nl\/ahn3\/wcs?&service=wcs&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:09.374 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:09.376 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:09.376 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:09.378 [print] Beheer PDOK 
* print operateson 001ms
05:06:09.380 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:09.381 [print] https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:09.383 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"de service is conform";"conform specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:09.384 [print] "true";"true" 
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 003ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:08.588 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
791ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 777ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:06:09.374 [print] https://service.pdok.nl/rce/ps-ch/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:09.375 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:09.376 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:09.377 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:09.377 [print] Beheer PDOK 
* print operateson 000ms
05:06:09.378 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:09.380 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:09.382 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:09.384 [print] "true";"true" 
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:08.652 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
827ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 814ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:09.474 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wfs?request=GetCapabilitiesservice=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:09.475 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:09.475 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:09.475 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:09.476 [print] Beheer PDOK 
* print operateson 000ms
05:06:09.476 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:09.478 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:09.479 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:09.479 [print] "true";"true" 
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:08.962 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
824ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 812ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:09.781 [print] https://www.broinspireservices.nl/wfs/oshhgqm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:09.782 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:09.783 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:09.783 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:09.784 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:09.784 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:09.785 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:09.786 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:09.787 [print] "true";"true" 
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:09.387 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 723ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd029f5-6e8f-4d61-b89a-11427c96bf3a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.122 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.123 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.124 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.124 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.125 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:10.125 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.127 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.127 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.128 [print] "true";"true" 
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"ebd029f5-6e8f-4d61-b89a-11427c96bf3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:09.390 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
825ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 812ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.211 [print] https://www.broinspireservices.nl/wfs/osgegmw-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.212 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.213 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.214 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.214 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:10.215 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.216 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.217 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.218 [print] "true";"true" 
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:09.482 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 788ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.278 [print] https://www.broinspireservices.nl/wms/oshhgqm-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.278 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.279 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.279 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.280 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:10.280 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.281 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.282 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.282 [print] "true";"true" 
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:09.790 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
800ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68505be5-45c4-4889-a82a-125043bbdc44' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.584 [print] https://www.broinspireservices.nl/wfs/osgebor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.585 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.586 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.586 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.587 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:10.587 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.589 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.590 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.591 [print] "false";"true" 
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.131 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6d902f4-97e8-4bcc-ba87-e58134645ab7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.844 [print] https:\/\/inspire.caris.nl\/gs4\/LAT2018OF\/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.844 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.845 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.845 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.846 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:10.846 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.847 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.848 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.848 [print] "true";"true" 
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b6d902f4-97e8-4bcc-ba87-e58134645ab7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.221 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f3e68b05-f5c8-4796-bc67-33a3db1c1d65' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:10.942 [print] https://inspire.caris.nl/geoserver/mu/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:10.942 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:10.943 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:10.943 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:10.944 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:10.944 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=060d1139-c371-4c1e-9890-55999adfa4f9&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:10.945 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:10.946 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:10.946 [print] "true";"true" 
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f3e68b05-f5c8-4796-bc67-33a3db1c1d65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.285 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1e2cb7d4-934a-437a-809e-fda67b4a8824' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:11.003 [print] https://inspire.caris.nl/geoserver1/mu/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:11.003 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:11.004 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:11.004 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:11.004 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:11.004 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:11.006 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:11.006 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 013ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:11.020 [print] "true";"true" 
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1e2cb7d4-934a-437a-809e-fda67b4a8824","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.594 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:11.315 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-w\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:11.316 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:11.316 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:11.316 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:11.317 [print] Beheer PDOK 
* print operateson 000ms
05:06:11.317 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:11.319 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:11.320 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:11.320 [print] "true";"true" 
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.851 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
756ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 741ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:11.601 [print] https://service.pdok.nl/provincies/ps/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:11.602 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:11.603 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:11.604 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:11.604 [print] Beheer PDOK 
* print operateson 000ms
05:06:11.605 [print] https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:11.607 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:11.608 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:11.609 [print] "true";"true" 
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:10.949 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
732ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7f79fc69-d0c7-4913-a05a-527c90453297' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 718ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f79fc69-d0c7-4913-a05a-527c90453297' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:11.675 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:11.675 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:11.676 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:11.676 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:11.677 [print] KNMI 
* print operateson 000ms
05:06:11.677 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:11.681 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:11.682 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:11.682 [print] true 
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7f79fc69-d0c7-4913-a05a-527c90453297","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:11.023 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 677ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:11.708 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:11.708 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:11.709 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:11.709 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:11.710 [print] Beheer PDOK 
* print operateson 000ms
05:06:11.710 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:11.711 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:11.712 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:11.713 [print] "true";"true" 
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:11.323 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
753ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '63f622ef-46b3-411a-a2aa-045cabf1e3ac' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 733ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '63f622ef-46b3-411a-a2aa-045cabf1e3ac' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:12.064 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/wfs/v1?SERVICE=WFS&REQUEST=GetCapabilities&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:12.065 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 006ms
* print protocol2 000ms
05:06:12.072 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:12.072 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:12.074 [print] Beheer PDOK 
* print operateson 000ms
05:06:12.074 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:12.076 [print] https://eur-lex.europa.eu/eli/reg/2010/1089 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:12.077 [print] "OGC WFS 1.0.0";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Deze service voldoet aan de specificaties voor spatial data services";"harmonised";"De service voldoet aan de requirements van de harmonised conformance class" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:12.078 [print] "true";"true";"true" 
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"63f622ef-46b3-411a-a2aa-045cabf1e3ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:11.611 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
879ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '8e7686c3-f75e-411f-866e-6985267b916b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b' 003ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 007ms
* def title = get response //citation/CI_Citation/title/CharacterString 011ms
* def email = get response //electronicMailAddress/CharacterString 009ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 004ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 005ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 002ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 002ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 003ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:12.463 [print] https:\/\/geodata.nationaalgeoregister.nl\/vogelrichtlijnverspreidingsgebiedsoorten\/wms?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 000ms
05:06:12.466 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 000ms
05:06:12.469 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:12.469 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 004ms
* print organisationpath 000ms
05:06:12.473 [print] Beheer PDOK 
* print operateson 000ms
05:06:12.473 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 004ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:12.483 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 004ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:12.488 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 004ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:12.492 [print] "true";"true" 
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:11.685 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:12.392 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/wms/v1?SERVICE=WMS&REQUEST=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:12.392 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:12.393 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:12.393 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:12.394 [print] Beheer PDOK 
* print operateson 000ms
05:06:12.394 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 003ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:12.399 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 007ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:12.406 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:12.408 [print] "true";"true" 
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:11.716 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '539ec652-482d-4806-a830-0458cf8be477' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 711ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:06:12.437 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/EF 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:12.438 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:12.439 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:12.439 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:12.440 [print] Informatiehuis Water 
* print operateson 000ms
05:06:12.441 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 008ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:12.450 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:12.452 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Zie de gerefereerde specificatie.";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:12.453 [print] "false";"true";"true" 
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:12.081 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1601e160-91e8-4091-9aca-10294f819d42' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 727ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:12.816 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:12.817 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:12.818 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:12.818 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:12.819 [print] Beheer PDOK 
* print operateson 000ms
05:06:12.819 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:12.820 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:12.821 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:12.822 [print] "true";"true" 
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:12.411 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f28bd85-0afc-4dc1-85f3-dac55c1b485e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.133 [print] https://haleconnect.com/ows/services/org.874.c4108a11-bdbb-4461-8902-423531561a7e_wms?SERVICE=WMS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.134 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.134 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.134 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:13.135 [print] KNMI 
* print operateson 000ms
05:06:13.135 [print] https://haleconnect.com/services/bsp/org.874.c4108a11-bdbb-4461-8902-423531561a7e/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.137 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.137 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.138 [print] true 
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2f28bd85-0afc-4dc1-85f3-dac55c1b485e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:12.456 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 712ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.176 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.176 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.177 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.177 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:13.178 [print] Beheer PDOK 
* print operateson 000ms
05:06:13.178 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.179 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.180 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.181 [print] "true";"true" 
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 001ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:12.495 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
740ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.207 [print] https:\/\/geodata.nationaalgeoregister.nl\/nl\/rws\/tn-ro\/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.208 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.208 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.208 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:13.209 [print] Beheer PDOK 
* print operateson 000ms
05:06:13.209 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 023ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.234 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.235 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.236 [print] "true";"true" 
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:12.824 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
693ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 680ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.512 [print] https://geodata.nationaalgeoregister.nl/vin/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.513 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.514 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.514 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:13.515 [print] Beheer PDOK 
* print operateson 000ms
05:06:13.515 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.517 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.518 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.519 [print] "true";"true" 
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.141 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
735ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 723ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.872 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.873 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.873 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.873 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:13.874 [print] Beheer PDOK 
* print operateson 000ms
05:06:13.874 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.876 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.876 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.877 [print] "true";"true" 
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.184 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
786ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 775ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:13.967 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wcs?request=GetCapabilities&service=WCS&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:13.968 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:13.968 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:13.968 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:13.969 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:13.969 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:13.970 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:13.971 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services 2.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:13.972 [print] "true";"true" 
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.239 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-891ddc2d-8949-4a45-be96-c65b87c41f15' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 790ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-891ddc2d-8949-4a45-be96-c65b87c41f15' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.036 [print] https://haleconnect.com/ows/services/org.292.6b574ba3-3b1c-4f29-a631-0f160713d96a_wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:14.037 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.038 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.038 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:14.039 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.039 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.040 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.041 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.041 [print] true 
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f15","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.523 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
735ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 723ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.253 [print] https://inspire.caris.nl/geoserver3/rws/wcs?service=WCS&version=2.0.1&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:14.254 [print] OGC:WCS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.255 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.255 [print] OGC:WCS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:14.255 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.256 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.257 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.258 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.258 [print] "true";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.880 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.591 [print] https://inspire.caris.nl/geoserver3/rws/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:14.592 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.592 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.592 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:14.593 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.593 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f8#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.595 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.596 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.596 [print] "false";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:13.975 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 671ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 001ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.657 [print] https:\/\/www.rijkswaterstaat.nl\/apps\/geoservices\/geodata\/dmc\/bodemhoogte_1mtr_insp 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:14.658 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.659 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.659 [print] ["landingpage","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:14.660 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.660 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.662 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.664 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.665 [print] "true";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.044 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
729ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.767 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/gdr\/bodemhoogte_1mtr\/ows?service=WCS&request=getcapabilities&version=2.0.1 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:14.768 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.769 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.769 [print] ["OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS","OGC:WCS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:14.770 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.771 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.772 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/id\/document\/tg\/download-wcs" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.773 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.774 [print] "false";"true" 
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.261 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'adn83730-e750-485a-9c0c-39bf9bt72cf8' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn83730-e750-485a-9c0c-39bf9bt72cf8' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:14.973 [print] https://www.rijkswaterstaat.nl/apps/geoservices/geodata/dmc/bodemhoogte_5mtr_atom_index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:14.974 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:14.975 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:14.975 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:14.976 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:14.976 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d973c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:14.977 [print] http://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-download-services 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:14.978 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:14.979 [print] "true";"true" 
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"adn83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.599 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
749ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-891ddc2d-8949-4a45-be96-c65b87c41f14' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 731ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-891ddc2d-8949-4a45-be96-c65b87c41f14' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 001ms
05:06:15.341 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6b574ba3-3b1c-4f29-a631-0f160713d96a_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:15.342 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:15.343 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:15.343 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:15.344 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:15.345 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6b574ba3-3b1c-4f29-a631-0f160713d96d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:15.347 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:15.348 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:15.349 [print] "true";"true" 
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-891ddc2d-8949-4a45-be96-c65b87c41f14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.668 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
702ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-75565-db8b-4df7-a3a6-0e9ca5289e5e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 690ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-75565-db8b-4df7-a3a6-0e9ca5289e5e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:15.364 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:15.365 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:15.366 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:15.366 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:15.367 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:15.367 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:15.369 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:15.370 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:15.371 [print] "true";"true" 
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-75565-db8b-4df7-a3a6-0e9ca5289e5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.777 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
693ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-6144d-231b-4a52-91d5-edde65076aff' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 682ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-6144d-231b-4a52-91d5-edde65076aff' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:15.466 [print] https://haleconnect.com/ows/services/org.292.2350b86b-3efd-47e4-883e-519bfa8d0aba_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:15.467 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:15.468 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:15.468 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:15.469 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:15.469 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2350b86b-3efd-47e4-883e-519bfa8d0abd#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:15.470 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:15.471 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:15.472 [print] true 
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-6144d-231b-4a52-91d5-edde65076aff","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:14.981 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-7ab54-da5c-46ea-a5b5-53df01873240' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 701ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-7ab54-da5c-46ea-a5b5-53df01873240' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:15.690 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:15.691 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:15.692 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:15.692 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:15.693 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:15.694 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:15.695 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:15.696 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:15.697 [print] "true";"true" 
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-7ab54-da5c-46ea-a5b5-53df01873240","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:15.352 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
764ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'eu-d9417-a69f-4665-bc42-8c6d84e5dedb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 754ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-d9417-a69f-4665-bc42-8c6d84e5dedb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.114 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:16.114 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.115 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.115 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.115 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.115 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3955762-73a3-4c16-a15c-f3869487a1ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.117 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.117 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.118 [print] true 
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"eu-d9417-a69f-4665-bc42-8c6d84e5dedb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:15.374 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
723ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 001ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.092 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:16.093 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.094 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.094 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.095 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.095 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.096 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.097 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.098 [print] true 
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:15.474 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
737ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 722ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.206 [print] https:\/\/marineprojects.openearth.nl\/geoserver\/ihm_krm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:16.207 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.208 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.208 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.209 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.209 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=604d241d-6792-4286-bbef-44b2ce5c38c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.211 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.211 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.212 [print] "true";"true" 
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:15.700 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'wt-43309-c655-4e64-b914-149050fd479c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-43309-c655-4e64-b914-149050fd479c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.423 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:16.424 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.424 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.425 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.425 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.426 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.427 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.428 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.428 [print] "true";"true" 
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"wt-43309-c655-4e64-b914-149050fd479c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.101 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'wt-c9463-a3da-401d-8251-8c6664865e0c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-c9463-a3da-401d-8251-8c6664865e0c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.806 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.504afbe6-0069-411b-b69b-2aae3728f735_wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:16.806 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.807 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.807 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.808 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.808 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=504afbe6-0069-411b-b69b-2aae3728f73a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.809 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.810 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.810 [print] true 
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"wt-c9463-a3da-401d-8251-8c6664865e0c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.121 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
828ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c48322f-f9cf-4a08-aa63-c4de080c13ab' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 800ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c48322f-f9cf-4a08-aa63-c4de080c13ab' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.929 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wms?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:16.930 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.931 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.932 [print] ["OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.934 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.934 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aa#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 006ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 002ms
05:06:16.944 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.946 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 002ms
05:06:16.950 [print] "true";"true" 
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ab","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ab","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.215 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7c48322f-f9cf-4a08-aa63-c4de080c13ac' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c48322f-f9cf-4a08-aa63-c4de080c13ac' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:16.921 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.7c48322f-f9cf-4a08-aa63-c4de080c13a1_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 004ms
* print protocol1 000ms
05:06:16.926 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:16.927 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:16.927 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:16.928 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:16.929 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c48322f-f9cf-4a08-aa63-c4de080c13aa#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:16.931 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:16.931 [print] Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:16.932 [print] true 
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7c48322f-f9cf-4a08-aa63-c4de080c13ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.431 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
823ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cfc800cb-e903-4364-9415-ddd3e0ecf49c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 809ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cfc800cb-e903-4364-9415-ddd3e0ecf49c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:17.249 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:17.250 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:17.251 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:17.251 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:17.252 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:17.252 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:17.254 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:17.254 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:17.255 [print] true 
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
002ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.813 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 001ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '917b5ba0-4fdd-4654-8c18-b3ccdadaa55c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 725ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '917b5ba0-4fdd-4654-8c18-b3ccdadaa55c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:17.547 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:17.548 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:17.549 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:17.549 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:17.549 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:17.549 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:17.551 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:17.551 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:17.552 [print] true 
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.946 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 003ms
Tags: @step1
688ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cfc800cb-e903-4364-9415-ddd3e0ecf49b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 677ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cfc800cb-e903-4364-9415-ddd3e0ecf49b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:17.633 [print] https:\/\/haleconnect.com\/ows\/services\/org.292.6cef2128-a227-4aa7-bc74-0e3797644d51_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:17.634 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:17.635 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:17.635 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:17.635 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:17.635 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cfc800cb-e903-4364-9415-ddd3e0ecf49f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:17.637 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:17.638 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:17.638 [print] "true";"true" 
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cfc800cb-e903-4364-9415-ddd3e0ecf49b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:16.953 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
848ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cefad637-5ffd-4dd0-b475-bc125a11f7eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 836ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cefad637-5ffd-4dd0-b475-bc125a11f7eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:17.797 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:17.798 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:17.799 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:17.799 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:17.800 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:17.800 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:17.801 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:17.802 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:17.803 [print] "true";"true" 
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:17.258 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cefad637-5ffd-4dd0-b475-bc125a11f7ec' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 705ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cefad637-5ffd-4dd0-b475-bc125a11f7ec' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:17.971 [print] https://haleconnect.com/ows/services/org.292.cefad637-5ffd-4dd0-b475-bc125a11f7e6_wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:17.972 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:17.972 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:17.972 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:17.973 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:17.973 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=cefad637-5ffd-4dd0-b475-bc125a11f7ea#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:17.974 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:17.975 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:17.976 [print] true 
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cefad637-5ffd-4dd0-b475-bc125a11f7ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:17.555 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '917b5ba0-4fdd-4654-8c18-b3ccdadaa55b' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 697ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '917b5ba0-4fdd-4654-8c18-b3ccdadaa55b' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 013ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:18.274 [print] https://haleconnect.com/ows/services/org.292.917b5ba0-4fdd-4654-8c18-b3ccdadaa550_wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:18.274 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:18.275 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:18.275 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:18.276 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:18.276 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=917b5ba0-4fdd-4654-8c18-b3ccdadaa55a#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:18.277 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:18.279 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:18.280 [print] "true";"true" 
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"917b5ba0-4fdd-4654-8c18-b3ccdadaa55b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:17.641 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 688ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:18.339 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:18.339 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:18.340 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:18.340 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:18.341 [print] Beheer PDOK 
* print operateson 000ms
05:06:18.341 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:18.343 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:18.343 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:18.344 [print] "true";"true" 
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:17.805 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:18.517 [print] https://geodata.nationaalgeoregister.nl/nl/rws/hy-n/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:18.518 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:18.518 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:18.519 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:18.519 [print] Beheer PDOK 
* print operateson 000ms
05:06:18.519 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:18.521 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:18.522 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:18.522 [print] "true";"true" 
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:17.978 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
704ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:18.679 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wms?request=Getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:18.679 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:18.680 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:18.680 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:18.681 [print] Beheer PDOK 
* print operateson 000ms
05:06:18.681 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:18.682 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:18.683 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:18.684 [print] "true";"true" 
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:18.283 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
697ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 686ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:18.977 [print] https://www.broinspireservices.nl/wms/osamepl-a-v1.0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:18.978 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:18.979 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:18.979 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:18.979 [print]  
* print operateson 000ms
05:06:18.980 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:18.981 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:18.981 [print] "Technical Guidance for the implementation of INSPIRE View Services";"Zie specificatie";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Onbekend" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:18.982 [print] "true";"false" 
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:18.347 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
702ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '181b54ed-14d2-4fda-bae7-747972340f2f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '181b54ed-14d2-4fda-bae7-747972340f2f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.046 [print] https://service.pdok.nl/provincies/provinciale-monumenten/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.047 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.047 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.047 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.048 [print] Beheer PDOK 
* print operateson 000ms
05:06:19.048 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.049 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.050 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.050 [print] "true";"true" 
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"181b54ed-14d2-4fda-bae7-747972340f2f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:18.525 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
709ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 692ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.226 [print] https://inspire.rivm.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.227 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.228 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.228 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.229 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 001ms
05:06:19.231 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.233 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.234 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.235 [print] "false";"true";"true" 
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:18.688 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
718ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 698ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.394 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.396 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.397 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.397 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.398 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:19.398 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 004ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.404 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.406 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.407 [print] "false";"false" 
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:18.985 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
689ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 677ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.670 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.670 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.671 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.671 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.672 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:19.672 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.673 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.674 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.675 [print] "false";"false" 
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.053 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 721ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.781 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.782 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.783 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.783 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.784 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:19.784 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.786 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.787 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.788 [print] "false";"false" 
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.239 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
708ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:19.943 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:19.944 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:19.944 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:19.945 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:19.945 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:19.945 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:19.947 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:19.948 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:19.948 [print] "false";"false" 
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.410 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
712ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 700ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:20.117 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:20.118 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:20.119 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:20.119 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:20.119 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:20.120 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:20.121 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:20.122 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:20.123 [print] "false";"false" 
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.677 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:20.396 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:20.396 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:20.397 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:20.397 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:20.398 [print] RIVM 
* print operateson 000ms
05:06:20.398 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:20.399 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:20.400 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:20.401 [print] "true";"true";"true" 
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.791 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0426f471-f325-42ed-a775-81c397592e86' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 696ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:20.495 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:20.495 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:20.496 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:20.496 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:20.497 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:20.497 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:20.498 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:20.499 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:20.500 [print] "false";"false" 
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 017ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:19.951 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
716ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 704ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:20.663 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:20.664 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:20.665 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:20.665 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:20.665 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:20.666 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:20.667 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:20.668 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:20.668 [print] "false";"false" 
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:20.125 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:20.841 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:20.841 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:20.842 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:20.842 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:20.843 [print] Beheer PDOK 
* print operateson 000ms
05:06:20.843 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:20.844 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:20.845 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:20.846 [print] "true";"true" 
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:20.403 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
704ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:21.103 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.104 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:21.105 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.105 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.105 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.105 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.107 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.107 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.108 [print] "true";"true" 
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:20.520 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
702ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 691ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'caeb52a3-cbaa-4e9b-a23e-d4dc0335b506' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:21.219 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/wfs/v1_0?request=getcapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.220 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:21.220 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.221 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.221 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.221 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.223 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.223 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.224 [print] "true";"true" 
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"caeb52a3-cbaa-4e9b-a23e-d4dc0335b506","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
003ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:20.671 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 002ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
727ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:21.395 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wms/?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.396 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:21.397 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.397 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.398 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.398 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.400 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.401 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.402 [print] "true";"true" 
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:20.848 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'deaf8380-ad45-48d2-8c3e-81164471bafb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 745ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'deaf8380-ad45-48d2-8c3e-81164471bafb' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 001ms
* print connectUrl 000ms
05:06:21.603 [print] https://service.pdok.nl/cbs/vk500/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.604 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 002ms
* print protocol2 006ms
05:06:21.612 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.612 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.613 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.614 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.615 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.616 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.617 [print] "true";"true" 
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"deaf8380-ad45-48d2-8c3e-81164471bafb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.111 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
763ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 751ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a337a9-bed3-4d79-80fa-ff4b45990d7d' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:21.869 [print] https://service.pdok.nl/cbs/wijkenbuurten/2020/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.870 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:21.871 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.871 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.872 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.872 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f1859b4d-93be-4fc8-9e91-0ecc2fa0f3b3#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.874 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.875 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.875 [print] "true";"true" 
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a337a9-bed3-4d79-80fa-ff4b45990d7d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.229 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:21.940 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:21.941 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:21.942 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:21.942 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:21.943 [print] Beheer PDOK 
* print operateson 000ms
05:06:21.943 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:21.944 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:21.945 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:21.945 [print] "true";"true" 
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.405 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
703ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 693ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:22.105 [print] https://service.pdok.nl/cbs/wb2021/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:22.106 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:22.106 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:22.106 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:22.107 [print] Beheer PDOK 
* print operateson 000ms
05:06:22.107 [print] ["https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification","https:\/\/nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=524b1e94-1981-4ef6-be1f-482d309b5db8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:22.108 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:22.109 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:22.109 [print] "true";"true" 
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e38a7188-4aa6-4c2e-ba5c-b8a2c172c4e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.620 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
724ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:22.340 [print] https://geodata.nationaalgeoregister.nl/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:22.340 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:22.341 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:22.341 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:22.342 [print] Beheer PDOK 
* print operateson 000ms
05:06:22.342 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:22.344 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:22.344 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"notEvaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:22.345 [print] "false";"true";"true" 
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.878 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
700ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 688ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:22.574 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:22.575 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:22.576 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:22.576 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:22.576 [print] Beheer PDOK 
* print operateson 000ms
05:06:22.576 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:22.578 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:22.579 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:22.579 [print] "true";"true" 
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:21.951 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
699ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 688ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:22.647 [print] https://service.pdok.nl/ienw/geluidskaartschipholnacht/wfs/v1_0?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:22.648 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:22.648 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:22.649 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:22.649 [print] Beheer PDOK 
* print operateson 000ms
05:06:22.649 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:22.651 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:22.651 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:22.652 [print] "true";"true" 
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:22.112 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
752ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 740ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:22.860 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:22.861 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:22.861 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:22.861 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:22.862 [print] RIVM 
* print operateson 000ms
05:06:22.862 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:22.863 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:22.864 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:22.865 [print] "true";"true";"true" 
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:22.349 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '66805d91-a5f6-4265-bd36-ef13a429c97e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 708ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '66805d91-a5f6-4265-bd36-ef13a429c97e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:23.064 [print] https://geodata.nationaalgeoregister.nl/bzk/bro-bodemkaart/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:23.065 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:23.066 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:23.066 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:23.067 [print] Beheer PDOK 
* print operateson 000ms
05:06:23.068 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:23.069 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:23.070 [print] #notpresent 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:23.072 [print] #notpresent 
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"66805d91-a5f6-4265-bd36-ef13a429c97e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:22.582 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
748ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a931e334-b752-4935-8a98-00eddc443789' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 736ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:23.326 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:23.326 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:23.327 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:23.327 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:23.328 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:23.328 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:23.329 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:23.330 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 001ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:23.331 [print] "false";"false" 
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:22.655 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
802ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 785ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:23.448 [print] https://inspire.rivm.nl/geoserver/wfs? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:23.448 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:23.449 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:23.449 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 003ms
05:06:23.454 [print] RIVM 
* print operateson 000ms
05:06:23.454 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:23.456 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:23.457 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:23.458 [print] "true";"true";"true" 
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:22.868 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:23.589 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:23.590 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:23.590 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:23.590 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:23.591 [print] RIVM 
* print operateson 000ms
05:06:23.591 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:23.593 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:23.593 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:23.594 [print] "true";"true";"true" 
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:23.074 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
738ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 726ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:23.808 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:23.809 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:23.810 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:23.810 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:23.811 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:23.811 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:23.812 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:23.813 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:23.813 [print] "false";"false" 
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:23.334 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
758ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 748ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1009c2a4-4dba-49a5-b643-914ba8b80b52' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.089 [print] https://haleconnect.com/ows/services/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118_wfs?SERVICE=WFS&Request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:24.090 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.090 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.090 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.091 [print] KNMI 
* print operateson 000ms
05:06:24.091 [print] https://haleconnect.com/services/bsp/org.874.cb9ca55e-f4e7-4bd8-a02e-75d528e22118/md/dataset/dataset1#xpointer%28%2F%2Fgmd%3AidentificationInfo%5B1%5D%2Fgmd%3AMD_DataIdentification%29 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.092 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.093 [print] "Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"Commission Regulation (EC) No 976\/2009 of 19 October 2009 implementing Directive 2007\/2\/EC of the European Parliament and of the Council as regards the Network Services";"See the referenced specification" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.094 [print] true 
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1009c2a4-4dba-49a5-b643-914ba8b80b52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:23.461 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
706ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 695ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cb13a608-3d78-4f79-ba60-be63ccd6e268' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.164 [print] https://service.pdok.nl/cbs/vk100/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:24.165 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.165 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.165 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.166 [print] Beheer PDOK 
* print operateson 000ms
05:06:24.166 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.167 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.168 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.169 [print] "true";"true" 
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"cb13a608-3d78-4f79-ba60-be63ccd6e268","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:23.597 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.312 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:24.313 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.313 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.313 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.314 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:24.314 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.315 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.316 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.317 [print] "false";"false" 
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:23.816 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
764ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 752ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.576 [print] http:\/\/services.inspire-provincies.nl\/ProductionAndIndustrialFacilities\/services\/download_PF?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:24.576 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.577 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.577 [print] ["OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.577 [print] Interprovinciaal Overleg 
* print operateson 000ms
05:06:24.577 [print] ["http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification","http:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/nl\/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.580 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.580 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.0";"conformant" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.581 [print] "false";"true";"true" 
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.096 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
719ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '80acf20e-66fd-4276-b218-7a045699245a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 706ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80acf20e-66fd-4276-b218-7a045699245a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 001ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.810 [print] https://service.pdok.nl/rws/geluidbelasting/atom/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 001ms
* print protocol1 000ms
05:06:24.811 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.812 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.812 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.813 [print] Beheer PDOK 
* print operateson 000ms
05:06:24.813 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=undefined#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.814 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.815 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.816 [print] "true";"true" 
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"80acf20e-66fd-4276-b218-7a045699245a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.171 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
721ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 707ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:24.886 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wfs?request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:24.887 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:24.888 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:24.888 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:24.889 [print] Beheer PDOK 
* print operateson 000ms
05:06:24.889 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:24.891 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:24.892 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:24.893 [print] "true";"true" 
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.320 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
725ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 713ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:25.040 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wfs?request=GetCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:25.041 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:25.041 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:25.041 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:25.042 [print] Beheer PDOK 
* print operateson 000ms
05:06:25.042 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:25.044 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:25.045 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:25.046 [print] "true";"true" 
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.584 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
701ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 689ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:25.280 [print] https://service.pdok.nl/cbs/wijkenbuurten/2019/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:25.281 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:25.282 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:25.282 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:25.282 [print] Beheer PDOK 
* print operateson 000ms
05:06:25.282 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:25.284 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:25.285 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:25.285 [print] "true";"true" 
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.819 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 755ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:25.582 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegenetmaal/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:25.583 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:25.584 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:25.584 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:25.585 [print] Beheer PDOK 
* print operateson 000ms
05:06:25.585 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:25.587 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:25.588 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:25.588 [print] "true";"true" 
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:24.896 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 729ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:25.632 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegenetmaal/wfs/v1_0?&request=GetCapabilities&service=wfs 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:25.632 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:25.633 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:25.633 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:25.634 [print] Beheer PDOK 
* print operateson 000ms
05:06:25.634 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:25.635 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:25.636 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:25.637 [print] "true";"true" 
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:25.048 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 749ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:25.805 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegennacht/wms/v1_0?service=wms&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:25.806 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:25.807 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:25.807 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:25.807 [print] Beheer PDOK 
* print operateson 000ms
05:06:25.808 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:25.809 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:25.810 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:25.810 [print] "true";"true" 
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:25.288 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 727ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f57bdee7-4027-4aa2-8312-4051b854be3c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:26.023 [print] https://service.pdok.nl/rvo/schelpdierpercelen/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:26.024 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:26.024 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:26.025 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:26.025 [print] Beheer PDOK 
* print operateson 000ms
05:06:26.025 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:26.027 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:26.027 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:26.028 [print] "true";"true" 
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f57bdee7-4027-4aa2-8312-4051b854be3c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:25.591 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
806ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 786ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1492fa63-96e2-406d-9a27-6affe281d848' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 001ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:26.386 [print] https://inspire.caris.nl/geoserver2/mu/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 002ms
* print protocol1 001ms
05:06:26.390 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:26.391 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:26.392 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 001ms
* print organisationpath 000ms
05:06:26.393 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 002ms
05:06:26.395 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:26.397 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:26.397 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:26.398 [print] "true";"true" 
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1492fa63-96e2-406d-9a27-6affe281d848","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:25.639 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
751ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 734ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91b1f8ca-63a0-4ce6-b7e1-456ee6945638' 001ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 005ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:26.386 [print] https://service.pdok.nl/rvo/schelpdierpercelen/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:26.387 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:26.388 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:26.388 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:26.389 [print] Beheer PDOK 
* print operateson 000ms
05:06:26.389 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b4e95a-12d7-4c74-933c-cb267cfe0bcf#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:26.390 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:26.391 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:26.392 [print] "true";"true" 
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"91b1f8ca-63a0-4ce6-b7e1-456ee6945638","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:25.813 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
711ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 699ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:26.520 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:26.520 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:26.521 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:26.521 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:26.522 [print] Beheer PDOK 
* print operateson 000ms
05:06:26.522 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:26.523 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:26.524 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:26.525 [print] "true";"true" 
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:26.030 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
705ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 694ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:26.732 [print] https:\/\/geodata.nationaalgeoregister.nl\/rws\/verkeersscheidingsstelsel\/wfs\/v2_0?service=WFS&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:26.732 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:26.733 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:26.733 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:26.734 [print] Beheer PDOK 
* print operateson 000ms
05:06:26.734 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:26.735 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:26.736 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:26.736 [print] "true";"true" 
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:26.395 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
761ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 746ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.150 [print] https://service.pdok.nl/rvo/mosselzaadinvanginstallaties/wfs/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.151 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.152 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.152 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.153 [print] Beheer PDOK 
* print operateson 000ms
05:06:27.154 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.156 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.157 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.158 [print] "true";"true" 
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:26.400 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
804ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 792ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.200 [print] https:\/\/service.pdok.nl\/kadaster\/rdinfo\/wfs\/v1_0?request=getcapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.200 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.201 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.201 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.202 [print] Beheer PDOK 
* print operateson 000ms
05:06:27.202 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.204 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.205 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.206 [print] "true";"true" 
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:26.527 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
763ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 749ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.286 [print] https:\/\/service.pdok.nl\/lv\/bag\/wfs\/v2_0?request=getCapabilities&service=WFS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.287 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.288 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.288 [print] ["OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.288 [print] Beheer PDOK 
* print operateson 000ms
05:06:27.288 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.290 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.291 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.292 [print] "true";"true" 
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:26.739 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
715ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.450 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wfs?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.451 [print] ["OGC:WFS","OGC:WFS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.451 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.451 [print] ["OGC:WFS","OGC:WFS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.452 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:27.452 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.454 [print] http://data.europa.eu/eli/reg/2009/976 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.455 [print] Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.456 [print] true 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.161 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
818ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 803ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 001ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.973 [print] https:\/\/service.pdok.nl\/lv\/bag\/wms\/v2_0?request=getCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.974 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.975 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.975 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.976 [print] Beheer PDOK 
* print operateson 000ms
05:06:27.976 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 001ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.979 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.980 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.981 [print] "true";"true" 
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.209 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 734ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 016ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:27.968 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wms?&request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:27.969 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:27.970 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:27.971 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:27.972 [print] Beheer PDOK 
* print operateson 000ms
05:06:27.972 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 001ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:27.974 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 001ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:27.976 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:27.978 [print] "true";"true" 
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.294 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
736ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 724ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.026 [print] https:\/\/geo.rijkswaterstaat.nl\/services\/ogc\/hws\/wm\/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.027 [print] ["OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.028 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.028 [print] ["OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.028 [print] Rijkswaterstaat 
* print operateson 000ms
05:06:28.028 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.030 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"http:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.031 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.031 [print] "true";"true" 
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.458 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 732ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a748a59-36f4-475b-9647-402b5ce89a1c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.197 [print] https://service.pdok.nl/kadaster/lc/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.198 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.198 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.199 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.199 [print] Beheer PDOK 
* print operateson 000ms
05:06:28.199 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1689d1b7-ef22-417a-becd-d8d9a8a90a10#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.200 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.201 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.202 [print] "true";"true" 
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"7a748a59-36f4-475b-9647-402b5ce89a1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.981 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
756ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 744ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.734 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.734 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.735 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.735 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.736 [print] Beheer PDOK 
* print operateson 000ms
05:06:28.736 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.737 [print] "http:\/\/data.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.738 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.739 [print] "true";"true" 
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:27.983 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
809ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 797ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.788 [print] https://www.broinspireservices.nl/wfs/ossosgm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.788 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.789 [print] OGC:WFS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.790 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.790 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:28.791 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.792 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.793 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.793 [print] "true";"true" 
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.034 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 765ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.805 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.806 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.807 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.807 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.808 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:28.809 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.810 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.811 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.811 [print] "false";"false" 
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.204 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
722ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:28.922 [print] https://geodata.nationaalgeoregister.nl/windkaart/wms?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:28.923 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:28.923 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:28.923 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:28.924 [print] Beheer PDOK 
* print operateson 000ms
05:06:28.924 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:28.926 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:28.926 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:28.927 [print] "true";"true" 
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.741 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
686ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 675ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:29.423 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:29.424 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:29.425 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:29.425 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:29.425 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:29.425 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:29.427 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:29.428 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:29.428 [print] "false";"false" 
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.796 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
799ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 779ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '52d0313e-0d2b-44b4-b51e-d9e504307f70' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:29.582 [print] https://service.pdok.nl/bzk/bro-environmental-monitoring-facilities/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:29.583 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 005ms
05:06:29.589 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 004ms
05:06:29.593 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:29.594 [print] Beheer PDOK 
* print operateson 000ms
05:06:29.594 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=dff9c760-1380-11eb-adc1-0242ac120002#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:29.595 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:29.596 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:29.597 [print] "true";"true" 
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"52d0313e-0d2b-44b4-b51e-d9e504307f70","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.814 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
776ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 755ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 006ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 002ms
* print connectUrl 000ms
05:06:29.584 [print] https://inspire.caris.nl/gs5/MarineRegion/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:29.585 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:29.586 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:29.586 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:29.587 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:29.587 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:29.589 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:29.590 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:29.591 [print] "true";"true" 
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:28.930 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
760ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 750ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:29.687 [print] https:\/\/inspire.rivm.nl\/geoserver\/wfs?request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:29.687 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:29.688 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:29.688 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:29.689 [print] Rijksinstituut voor Volksgezondheid en Milieu 
* print operateson 000ms
05:06:29.689 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:29.690 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:29.691 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services 3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:29.691 [print] "false";"false" 
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:29.431 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
742ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '1d3c777a-3527-4aa1-8573-d6aeeff115e5' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d3c777a-3527-4aa1-8573-d6aeeff115e5' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:30.152 [print] https://www.broinspireservices.nl/atom/services.atom 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:30.153 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:30.154 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:30.154 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:30.154 [print] TNO Geologische Dienst Nederland 
* print operateson 000ms
05:06:30.154 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=E7D9F0D6-2B8D-6699-F26E-4A781228F2DD&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:30.156 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 015ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:30.172 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Zie verordening";"Technical Guidance for the implementation of INSPIRE Download Services";"Zie specificatie" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:30.173 [print] "true";"true" 
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"1d3c777a-3527-4aa1-8573-d6aeeff115e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:29.594 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
749ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 733ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 004ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:30.340 [print] https://service.pdok.nl/ienw/geluidskaartspoorwegennacht/wfs/v1_0?service=wfs&request=getcapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:30.341 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:30.341 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:30.342 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:30.343 [print] Beheer PDOK 
* print operateson 000ms
05:06:30.343 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:30.344 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:30.345 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:30.346 [print] "true";"true" 
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:29.599 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
770ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 760ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:30.365 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:30.366 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:30.366 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:30.366 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:30.367 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:30.367 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:30.368 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:30.369 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:30.370 [print] "true";"true" 
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:29.694 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
726ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 714ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:30.415 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:30.416 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:30.417 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:30.417 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:30.418 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:30.418 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:30.419 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:30.420 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:30.421 [print] "true";"true" 
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:30.176 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 722ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 001ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:30.907 [print] http://inspire.rdw.nl/www/download/rdw-inspire.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:30.907 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:30.908 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:30.908 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:30.909 [print] RDW 
* print operateson 000ms
05:06:30.909 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:30.910 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:30.911 [print] "Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Evaluated";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Gecontroleerd met INSPIRE verordening" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:30.911 [print] "true";"true" 
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:30.349 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
720ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 710ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.065 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.066 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.067 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.067 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.067 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:31.067 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.069 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.069 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.070 [print] "true";"true" 
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:30.372 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
767ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 755ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.134 [print] https://inspire.caris.nl/gs5/MarineRegion/ows?service=WFS&version=2.0.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.134 [print] OGC:WFS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.135 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.135 [print] OGC:WFS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.136 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:31.136 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.138 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.139 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE Download Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.140 [print] "true";"true" 
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:30.423 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
734ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 725ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.155 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wms?service=WMS&version=1.3.0&request=GetCapabilities 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.155 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.156 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.156 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.156 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie 
* print operateson 000ms
05:06:31.157 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.158 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.159 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"";"Webservice is conform";"Technical Guidance for the implementation of INSPIRE View Services v3.0";"Webservice is conform" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.159 [print] "true";"true" 
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:30.914 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
768ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 758ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aa31349f-9607-4fdb-83ac-732f0b942adc' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.679 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.680 [print] INSPIRE Atom 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.680 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.680 [print] INSPIRE Atom 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.681 [print] Beheer PDOK 
* print operateson 000ms
05:06:31.681 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.682 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-download-services" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.683 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.683 [print] "true";"true" 
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"aa31349f-9607-4fdb-83ac-732f0b942adc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.073 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
717ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '2e5571fb-c840-4d84-8224-62ee7293b2b3' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 703ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e5571fb-c840-4d84-8224-62ee7293b2b3' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.783 [print] https://service.pdok.nl/provincies/grondwaterbeschermingsgebieden/wms/v1_0?request=getcapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.784 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.784 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.784 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.785 [print] Beheer PDOK 
* print operateson 000ms
05:06:31.785 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=666554ed-5106-487d-b4bf-69fbd888a6d7#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.786 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 003ms
05:06:31.790 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.790 [print] "true";"true" 
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"2e5571fb-c840-4d84-8224-62ee7293b2b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
001ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.143 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
752ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 739ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.890 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotorgb\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.891 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.892 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.892 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.893 [print] Beheer PDOK 
* print operateson 000ms
05:06:31.893 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4e2bb25e-a5a9-43a7-986a-40e7aea32e38#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.895 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.896 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.897 [print] "true";"true" 
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.162 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
759ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '755d488b-7b94-4883-95be-6aa279604f85' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 747ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:31.916 [print] https://inspire.rivm.nl/geoserver/wms? 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:31.916 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:31.917 [print] OGC:WMS 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:31.917 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:31.918 [print] RIVM 
* print operateson 000ms
05:06:31.918 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:31.920 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:31.921 [print] "VERORDENING (EU) Nr. 1089\/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:31.921 [print] "true";"true";"true" 
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.686 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
690ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = '3bfab77c-1663-4334-b7cb-b972de6096b1' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 680ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3bfab77c-1663-4334-b7cb-b972de6096b1' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:32.373 [print] https://service.pdok.nl/provincies/geluidzones-rondom-vliegvelden/wms/v1_0?request=GetCapabilities&service=WMS 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:32.373 [print] OGC:WMS 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:32.374 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:32.374 [print] OGC:WMS 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:32.375 [print] Beheer PDOK 
* print operateson 000ms
05:06:32.375 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41023936-009d-48ec-a90d-c966895463c1#MD_DataIdentification 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:32.376 [print] "https:\/\/eur-lex.europa.eu\/eli\/reg\/2009\/976";"https:\/\/inspire.ec.europa.eu\/documents\/technical-guidance-implementation-inspire-view-services-1" 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:32.376 [print] "Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:32.377 [print] "true";"true" 
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"3bfab77c-1663-4334-b7cb-b972de6096b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.793 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
714ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 687ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 015ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:32.503 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/atom/v1_0/index.xml 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:32.504 [print] #notpresent 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:32.505 [print] INSPIRE Atom 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:32.505 [print] #notpresent 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:32.505 [print] Beheer PDOK 
* print operateson 000ms
05:06:32.505 [print] ["https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl:443\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:32.507 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:32.507 [print] "Technical Guidance for the implementation of INSPIRE Download Services 3.0";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE Download Services v3.11";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:32.508 [print] "true";"true";"true" 
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms
000ms
* url 'http://nationaalgeoregister.nl/' 000ms
05:06:31.900 karate.env system property was: null 
* def mystorage = Java.type('storage.DataStorage') 000ms
* def db = new mystorage 000ms
* def db = db.setfeature(karate.info.featureFileName) 000ms
* def separator = java.lang.System.getProperty("file.separator") 000ms
* def idfile = "file:" + db.outputpath("T01_ids").getAbsolutePath() + separator + 'idsService.json' 000ms
* def list = karate.read(idfile) 000ms
* def outputpath = db.outputpath() 000ms
* eval db.ensureDirectory(outputpath) 000ms
Tags: @step1
739ms
Given url 'http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire' 000ms
And param service = 'CSW' 000ms
And param version = '2.0.2' 000ms
And param request = 'GetRecordById' 000ms
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
And param elementsetname = 'full' 000ms
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 000ms
When method get 727ms
Then status 200 000ms
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580' 000ms
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue 000ms
* def title = get response //citation/CI_Citation/title/CharacterString 000ms
* def email = get response //electronicMailAddress/CharacterString 000ms
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor') 000ms
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString') 000ms
* def organisationpath = organisationpath1 !== "#notpresent" ? organisationpath1 : organisationpath2 000ms
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString') 000ms
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href') 000ms
* string connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL') 000ms
* string connectUrl = db.getCorrectedUrl(connectrawUrl) 000ms
* print connectUrl 000ms
05:06:32.635 [print] https:\/\/service.pdok.nl\/hwh\/luchtfotocir\/wms\/v1_0?request=GetCapabilities&service=wms 
* string protocol1 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/Anchor') 000ms
* print protocol1 000ms
05:06:32.635 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string protocol2 = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString') 000ms
* print protocol2 000ms
05:06:32.636 [print] #notpresent 
* string protocol = protocol1 ? protocol1 : protocol2 000ms
* print protocol 000ms
05:06:32.636 [print] ["OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS","OGC:WMS"] 
* string operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href 000ms
* print organisationpath 000ms
05:06:32.637 [print] Beheer PDOK 
* print operateson 000ms
05:06:32.637 [print] ["https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification","https:\/\/www.nationaalgeoregister.nl\/geonetwork\/srv\/dut\/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http:\/\/www.isotc211.org\/2005\/gmd&elementSetName=full&id=4cfb1469-a152-4ba6-8fe9-4b627acd7ee0#MD_DataIdentification"] 
* string servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName 000ms
* string conformanceHref = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//@href 000ms
* string corConformanceHref = db.getCorrectedString(conformanceHref) 000ms
* print corConformanceHref 000ms
05:06:32.638 [print] #notpresent 
* string conformanceTitles = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//CharacterString 000ms
* string corConformanceTitles = db.getCorrectedString(conformanceTitles) 000ms
* print corConformanceTitles 000ms
05:06:32.639 [print] "VERORDENING (EG) Nr. 976\/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007\/2\/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten";"Conform verordening; validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1";"Technical Guidance for the implementation of INSPIRE View Services";"Conform technische specificatie; Validatie uitgevoerd met de ETF Validator voor INSPIRE view en downloadservices versie 1.4.1" 
* string conformancePass = get response //MD_Metadata/dataQualityInfo/DQ_DataQuality/report[*]//Boolean 000ms
* string corConformancePass = db.getCorrectedString(conformancePass) 000ms
* print corConformancePass 000ms
05:06:32.640 [print] "true";"true" 
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + corConformanceHref + '","' + corConformanceTitles + '","' + corConformancePass + '"' , db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '_conformance.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv') 000ms
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv') 000ms